Pagini recente » Borderou de evaluare (job #1095323) | Borderou de evaluare (job #980137) | Borderou de evaluare (job #927492) | Borderou de evaluare (job #1456175) | Borderou de evaluare (job #1338129)
Borderou de evaluare (job #1338129)
Raport evaluator
Compilare:
user.cpp: In function ‘void citesc()’:
user.cpp:11:17: warning: unused variable ‘xx’ [-Wunused-variable]
int caate=0,xx;
^
user.cpp: In function ‘void marc(int, int, int, int, int)’:
user.cpp:82:34: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
for(int j=col+1;j<=c2&a[i][j]!=true;j++)
^
user.cpp: In function ‘int main()’:
user.cpp:100:9: warning: variable ‘lin’ set but not used [-Wunused-but-set-variable]
int lin,col;
^
user.cpp:100:13: warning: variable ‘col’ set but not used [-Wunused-but-set-variable]
int lin,col;
^
user.cpp:105:9: warning: unused variable ‘elem’ [-Wunused-variable]
int elem;
^
user.cpp: In function ‘void citesc()’:
user.cpp:10:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:26:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp: In function ‘void citesc2()’:
user.cpp:46:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp: In function ‘int main()’:
user.cpp:96:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bemo.in","r",stdin);
^
user.cpp:97:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bemo.out","w",stdout);
^
user.cpp:103:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bemo.in","r",stdin);
^
user.cpp:104:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n",&n,&m);
^
/tmp/ccmvW2sp.o: In function `citesc()':
user.cpp:(.text+0x17): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 372kb | OK | 10 |
2 | 4ms | 684kb | OK | 10 |
3 | 16ms | 1240kb | OK | 10 |
4 | 76ms | 2948kb | OK | 10 |
5 | 228ms | 5660kb | OK | 10 |
6 | 348ms | 7272kb | OK | 10 |
7 | 484ms | 8788kb | OK | 10 |
8 | 636ms | 10844kb | OK | 10 |
9 | 652ms | 11104kb | OK | 10 |
10 | 668ms | 11272kb | OK | 10 |
Punctaj total | 100 |