Borderou de evaluare (job #3276601)

Utilizator tudor_costinCostin Tudor tudor_costin Data 13 februarie 2025 21:45:37
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: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
10ms557kbOk!10
21ms557kbOk!10
31ms1540kbOk!10
44ms2125kbOk!10
549ms17940kbOk!10
6135ms10084kbOk!10
7150ms11448kbTime limit exceeded0
8152ms13148kbTime limit exceeded0
9153ms12963kbTime limit exceeded0
10153ms13594kbTime limit exceeded0
Punctaj total60

Ceva nu functioneaza?