Borderou de evaluare (job #3276600)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:40:14: warning: narrowing conversion of 'sx' from 'int' to 'short int' [-Wnarrowing]
40 | pq.push({sx,sy,0,-1});
| ^~
main.cpp:40:17: warning: narrowing conversion of 'sy' from 'int' to 'short int' [-Wnarrowing]
40 | pq.push({sx,sy,0,-1});
| ^~
main.cpp:81:34: warning: narrowing conversion of 'newi' from 'int' to 'short int' [-Wnarrowing]
81 | pq.push({newi,newj,cost+turn,k});
| ^~~~
main.cpp:81:39: warning: narrowing conversion of 'newj' from 'int' to 'short int' [-Wnarrowing]
81 | pq.push({newi,newj,cost+turn,k});
| ^~~~
main.cpp:81:54: warning: narrowing conversion of 'k' from 'int' to 'short int' [-Wnarrowing]
81 | pq.push({newi,newj,cost+turn,k});
| ^
main.cpp:76:64: warning: 'turn' may be used uninitialized [-Wmaybe-uninitialized]
76 | if(d[newi][newj][k]==0 || d[newi][newj][k]>cost+turn)
| ~~~~^~~~~
main.cpp:62:17: note: 'turn' was declared here
62 | int turn;
| ^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 557kb | Ok! | 10 |
2 | 1ms | 557kb | Ok! | 10 |
3 | 2ms | 1540kb | Ok! | 10 |
4 | 6ms | 2125kb | Ok! | 10 |
5 | 46ms | 17969kb | Ok! | 10 |
6 | 135ms | 10051kb | Ok! | 10 |
7 | 151ms | 11440kb | Time limit exceeded | 0 |
8 | 152ms | 13094kb | Time limit exceeded | 0 |
9 | 153ms | 12918kb | Time limit exceeded | 0 |
10 | 153ms | 13533kb | Time limit exceeded | 0 |
Punctaj total | 60 |