Pagini recente » Borderou de evaluare (job #534759) | Borderou de evaluare (job #1161388) | Borderou de evaluare (job #2806921) | Borderou de evaluare (job #1686522) | Borderou de evaluare (job #2436066)
Borderou de evaluare (job #2436066)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:29:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(Map[i][j]<-3 && Map[i-1][j]<-3) Map[i][j]=Map[i-1][j]-1; Sol1=min(Sol1, Map[i][j]);
^~
main.cpp:29:69: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(Map[i][j]<-3 && Map[i-1][j]<-3) Map[i][j]=Map[i-1][j]-1; Sol1=min(Sol1, Map[i][j]);
^~~~
main.cpp:30:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(Walls[i][j]<-3 && Walls[i][j-1]<-3) Walls[i][j]=Walls[i][j-1]-1; Sol1=min(Sol1, Walls[i][j]);
^~
main.cpp:30:77: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(Walls[i][j]<-3 && Walls[i][j-1]<-3) Walls[i][j]=Walls[i][j-1]-1; Sol1=min(Sol1, Walls[i][j]);
^~~~
main.cpp:17:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ai.in", "r", stdin);
^
main.cpp:18:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ai.out", "w", stdout);
^
main.cpp:19:195: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d%d%d%d%d%d%d%d", &N, &target.first, &target.second, &light1.first, &light1.second, &light2.first, &light2.second, &heart1.first, &heart1.second, &heart2.first, &heart2.second);
^
main.cpp:21:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &M);
^
main.cpp:24:30: 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 | 2ms | 262kb | OK | 5 |
2 | 3ms | 262kb | Primul numar corect | 1 |
3 | 3ms | 524kb | OK | 5 |
4 | 12ms | 1441kb | OK | 5 |
5 | 16ms | 1703kb | Primul numar corect | 1 |
6 | 40ms | 2621kb | Primul numar corect | 1 |
7 | 4ms | 917kb | OK | 5 |
8 | 3ms | 524kb | OK | 5 |
9 | 16ms | 1966kb | OK | 5 |
10 | 48ms | 3801kb | OK | 5 |
11 | 64ms | 3932kb | OK | 5 |
12 | 165ms | 5505kb | OK | 5 |
13 | 77ms | 6422kb | OK | 5 |
14 | 115ms | 7208kb | OK | 5 |
15 | 191ms | 7733kb | Primul numar corect | 1 |
16 | 180ms | 4587kb | OK | 5 |
17 | 38ms | 6422kb | OK | 5 |
18 | 108ms | 8126kb | OK | 5 |
19 | 106ms | 5505kb | OK | 5 |
20 | 213ms | 5373kb | OK | 5 |
Punctaj total | 84 |