Pagini recente » Borderou de evaluare (job #709014) | Borderou de evaluare (job #1945755) | Borderou de evaluare (job #595693) | Borderou de evaluare (job #364447) | Borderou de evaluare (job #2229586)
Borderou de evaluare (job #2229586)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:29:35: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
while(q & B[i][q + 1] != B[i][j])
~~~~~~~~~~~~^~~~~~~~~~
user.cpp:10:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tetris2.in", "r", stdin);
^
user.cpp:11:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tetris2.out", "w", stdout);
^
user.cpp:13:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:16:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i][j]);
^
user.cpp:20:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:23:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &b[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 3456kb | OK | 10 |
2 | 0ms | 3460kb | OK | 10 |
3 | 252ms | 7528kb | OK | 10 |
4 | 244ms | 7528kb | OK | 10 |
5 | 228ms | 7508kb | OK | 10 |
6 | 208ms | 7532kb | OK | 10 |
7 | 212ms | 7532kb | OK | 10 |
8 | 192ms | 7532kb | OK | 10 |
9 | 192ms | 7532kb | OK | 10 |
10 | 0ms | 3408kb | OK | 10 |
Punctaj total | 100 |