Pagini recente » Borderou de evaluare (job #1630108) | Borderou de evaluare (job #531807) | Borderou de evaluare (job #2706737) | Borderou de evaluare (job #1715754) | Borderou de evaluare (job #1682277)
Borderou de evaluare (job #1682277)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(a[i - 1][j] == 0 && a[i][j - 1] == 0)
^
user.cpp:7:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("acces.in", "r", stdin);
^
user.cpp:8:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("acces.out", "w", stdout);
^
user.cpp:9:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:12:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i][j]);
^
user.cpp:36:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &q);
^
user.cpp:38:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 400kb | OK | 5 |
2 | 0ms | 476kb | OK | 5 |
3 | 0ms | 528kb | OK | 5 |
4 | 0ms | 632kb | OK | 5 |
5 | 0ms | 988kb | OK | 5 |
6 | 4ms | 1288kb | OK | 5 |
7 | 4ms | 1284kb | OK | 5 |
8 | 16ms | 2240kb | OK | 5 |
9 | 20ms | 2632kb | OK | 5 |
10 | 36ms | 2632kb | OK | 5 |
11 | 88ms | 3424kb | OK | 5 |
12 | 120ms | 4208kb | OK | 5 |
13 | 152ms | 4996kb | OK | 5 |
14 | 240ms | 5776kb | OK | 5 |
15 | 340ms | 6568kb | OK | 5 |
16 | 376ms | 6564kb | OK | 5 |
17 | 456ms | 6960kb | OK | 5 |
18 | 496ms | 7748kb | OK | 5 |
19 | 544ms | 8140kb | OK | 5 |
20 | 568ms | 8136kb | OK | 5 |
Punctaj total | 100 |