Pagini recente » Borderou de evaluare (job #2353482) | Borderou de evaluare (job #3157080) | Borderou de evaluare (job #2678000) | Borderou de evaluare (job #2515753) | Borderou de evaluare (job #2342586)
Borderou de evaluare (job #2342586)
Raport evaluator
Compilare:
main.cpp: In function 'void Lee(int, int)':
main.cpp:27:127: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(check(lv, cv) && ((Viz[lv][cv] > Viz[x.l][x.c] && A[x.l][x.c] == A[lv][cv]) || Viz[lv][cv] > Viz[x.l][x.c] + 1 && A[x.l][x.c] != A[lv][cv])) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:37:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("padure.in", "r", stdin);
^
main.cpp:38:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("padure.out", "w", stdout);
^
main.cpp:39:54: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d%d%d", &N, &M, &Si, &Sj, &Fi, &Fj);
^
main.cpp:41:54: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(j = 1; j <= M; j++) scanf("%d", &A[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 262kb | OK | 10 |
2 | 2ms | 262kb | OK | 10 |
3 | 5ms | 655kb | OK | 10 |
4 | 9ms | 917kb | OK | 10 |
5 | 8ms | 917kb | OK | 10 |
6 | 42ms | 2490kb | OK | 10 |
7 | 403ms | 4194kb | Time limit exceeded | 0 |
8 | 402ms | 5898kb | Time limit exceeded | 0 |
9 | 401ms | 8257kb | Time limit exceeded | 0 |
10 | 403ms | 8257kb | Time limit exceeded | 0 |
Punctaj total | 60 |