Borderou de evaluare (job #3276600)

Utilizator tudor_costinCostin Tudor tudor_costin Data 13 februarie 2025 21:42:52
Problema Car Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 60

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
10ms557kbOk!10
21ms557kbOk!10
32ms1540kbOk!10
46ms2125kbOk!10
546ms17969kbOk!10
6135ms10051kbOk!10
7151ms11440kbTime limit exceeded0
8152ms13094kbTime limit exceeded0
9153ms12918kbTime limit exceeded0
10153ms13533kbTime limit exceeded0
Punctaj total60

Ceva nu functioneaza?