Borderou de evaluare (job #3276603)

Utilizator tudor_costinCostin Tudor tudor_costin Data 13 februarie 2025 21:57:08
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:41:14: warning: narrowing conversion of 'sx' from 'int' to 'short int' [-Wnarrowing] 41 | pq.push({sx,sy,0,-1}); | ^~ main.cpp:41:17: warning: narrowing conversion of 'sy' from 'int' to 'short int' [-Wnarrowing] 41 | pq.push({sx,sy,0,-1}); | ^~ main.cpp:86:34: warning: narrowing conversion of 'newi' from 'int' to 'short int' [-Wnarrowing] 86 | pq.push({newi,newj,cost+turn,k}); | ^~~~ main.cpp:86:39: warning: narrowing conversion of 'newj' from 'int' to 'short int' [-Wnarrowing] 86 | pq.push({newi,newj,cost+turn,k}); | ^~~~ main.cpp:86:54: warning: narrowing conversion of 'k' from 'int' to 'short int' [-Wnarrowing] 86 | pq.push({newi,newj,cost+turn,k}); | ^ main.cpp:81:64: warning: 'turn' may be used uninitialized [-Wmaybe-uninitialized] 81 | if(d[newi][newj][k]==0 || d[newi][newj][k]>cost+turn) | ~~~~^~~~~ main.cpp:67:17: note: 'turn' was declared here 67 | int turn; | ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms557kbOk!10
21ms557kbOk!10
31ms1540kbOk!10
44ms2174kbOk!10
542ms17989kbOk!10
6127ms9572kbOk!10
7151ms11059kbTime limit exceeded0
8152ms13271kbTime limit exceeded0
9153ms12623kbTime limit exceeded0
10153ms12201kbTime limit exceeded0
Punctaj total60

Ceva nu functioneaza?