Pagini recente » Borderou de evaluare (job #2222115) | Borderou de evaluare (job #2577637) | Borderou de evaluare (job #1865449) | Borderou de evaluare (job #511824) | Borderou de evaluare (job #2436107)
Borderou de evaluare (job #2436107)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:30: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:30: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:31: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:31: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:22:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &M);
^
main.cpp:25: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 | OK | 5 |
3 | 3ms | 524kb | OK | 5 |
4 | 12ms | 1441kb | OK | 5 |
5 | 15ms | 1703kb | OK | 5 |
6 | 34ms | 2621kb | OK | 5 |
7 | 5ms | 917kb | OK | 5 |
8 | 3ms | 524kb | OK | 5 |
9 | 16ms | 1966kb | OK | 5 |
10 | 49ms | 3801kb | OK | 5 |
11 | 65ms | 3932kb | OK | 5 |
12 | 164ms | 5505kb | OK | 5 |
13 | 79ms | 6422kb | OK | 5 |
14 | 116ms | 7208kb | OK | 5 |
15 | 188ms | 7864kb | OK | 5 |
16 | 193ms | 4587kb | OK | 5 |
17 | 38ms | 6422kb | OK | 5 |
18 | 111ms | 8126kb | OK | 5 |
19 | 105ms | 5505kb | OK | 5 |
20 | 195ms | 5505kb | OK | 5 |
Punctaj total | 100 |