Borderou de evaluare (job #2435485)

Utilizator CharacterMeCharacter Me CharacterMe Data 4 iulie 2019 10:41:02
Problema AI Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 27

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
12ms262kbPrimul numar corect1
22ms131kbKilled by Signal 80
34ms524kbPrimul numar corect1
426ms1441kbOK5
52ms131kbKilled by Signal 80
6157ms2752kbPrimul numar corect1
75ms917kbOK5
83ms524kbPrimul numar corect1
938ms1966kbPrimul numar corect1
1073ms3801kbOK5
11165ms4063kbPrimul numar corect1
12300ms5505kbTime limit exceeded0
13303ms6422kbTime limit exceeded0
14300ms7208kbTime limit exceeded0
152ms131kbKilled by Signal 80
1619ms4587kbPrimul numar corect1
17225ms6553kbOK5
18300ms8126kbTime limit exceeded0
19303ms5505kbTime limit exceeded0
20303ms2621kbTime limit exceeded0
Punctaj total27

Ceva nu functioneaza?