Pagini recente » Borderou de evaluare (job #3125392) | Borderou de evaluare (job #3219165) | Borderou de evaluare (job #3276603) | Borderou de evaluare (job #1927362) | Borderou de evaluare (job #3276601)
Borderou de evaluare (job #3276601)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:42:14: warning: narrowing conversion of 'sx' from 'int' to 'short int' [-Wnarrowing]
42 | pq.push({sx,sy,0,-1});
| ^~
main.cpp:42:17: warning: narrowing conversion of 'sy' from 'int' to 'short int' [-Wnarrowing]
42 | pq.push({sx,sy,0,-1});
| ^~
main.cpp:83:34: warning: narrowing conversion of 'newi' from 'int' to 'short int' [-Wnarrowing]
83 | pq.push({newi,newj,cost+turn,k});
| ^~~~
main.cpp:83:39: warning: narrowing conversion of 'newj' from 'int' to 'short int' [-Wnarrowing]
83 | pq.push({newi,newj,cost+turn,k});
| ^~~~
main.cpp:83:54: warning: narrowing conversion of 'k' from 'int' to 'short int' [-Wnarrowing]
83 | pq.push({newi,newj,cost+turn,k});
| ^
main.cpp:78:64: warning: 'turn' may be used uninitialized [-Wmaybe-uninitialized]
78 | if(d[newi][newj][k]==0 || d[newi][newj][k]>cost+turn)
| ~~~~^~~~~
main.cpp:64:17: note: 'turn' was declared here
64 | int turn;
| ^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 557kb | Ok! | 10 |
2 | 1ms | 557kb | Ok! | 10 |
3 | 1ms | 1540kb | Ok! | 10 |
4 | 4ms | 2125kb | Ok! | 10 |
5 | 49ms | 17940kb | Ok! | 10 |
6 | 135ms | 10084kb | Ok! | 10 |
7 | 150ms | 11448kb | Time limit exceeded | 0 |
8 | 152ms | 13148kb | Time limit exceeded | 0 |
9 | 153ms | 12963kb | Time limit exceeded | 0 |
10 | 153ms | 13594kb | Time limit exceeded | 0 |
Punctaj total | 60 |