Pagini recente » Borderou de evaluare (job #2833786) | Borderou de evaluare (job #1280466) | Borderou de evaluare (job #2236568) | Borderou de evaluare (job #2897062) | Borderou de evaluare (job #2435485)
Borderou de evaluare (job #2435485)
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 | Primul numar corect | 1 |
2 | 2ms | 131kb | Killed by Signal 8 | 0 |
3 | 4ms | 524kb | Primul numar corect | 1 |
4 | 26ms | 1441kb | OK | 5 |
5 | 2ms | 131kb | Killed by Signal 8 | 0 |
6 | 157ms | 2752kb | Primul numar corect | 1 |
7 | 5ms | 917kb | OK | 5 |
8 | 3ms | 524kb | Primul numar corect | 1 |
9 | 38ms | 1966kb | Primul numar corect | 1 |
10 | 73ms | 3801kb | OK | 5 |
11 | 165ms | 4063kb | Primul numar corect | 1 |
12 | 300ms | 5505kb | Time limit exceeded | 0 |
13 | 303ms | 6422kb | Time limit exceeded | 0 |
14 | 300ms | 7208kb | Time limit exceeded | 0 |
15 | 2ms | 131kb | Killed by Signal 8 | 0 |
16 | 19ms | 4587kb | Primul numar corect | 1 |
17 | 225ms | 6553kb | OK | 5 |
18 | 300ms | 8126kb | Time limit exceeded | 0 |
19 | 303ms | 5505kb | Time limit exceeded | 0 |
20 | 303ms | 2621kb | Time limit exceeded | 0 |
Punctaj total | 27 |