Borderou de evaluare (job #3244254)

Utilizator RaduCalisovCalisovRadu RaduCalisov Data 24 septembrie 2024 12:17:05
Problema Cablaj Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:63:72: warning: array subscript 2 is above array bounds of 'int [2]' [-Warray-bounds] 63 | v[cnt].c= sqrt(pow((cord[i][1]-cord[j][1]),2)+pow((cord[i][2]-cord[j][2]),2)); | ~~~~~~~~~^ main.cpp:25:5: note: while referencing 'cord' 25 | int cord[3002][2],parinte[3002],card[3002]; | ^~~~ main.cpp:63:83: warning: array subscript 2 is above array bounds of 'int [2]' [-Warray-bounds] 63 | v[cnt].c= sqrt(pow((cord[i][1]-cord[j][1]),2)+pow((cord[i][2]-cord[j][2]),2)); | ~~~~~~~~~^ main.cpp:25:5: note: while referencing 'cord' 25 | int cord[3002][2],parinte[3002],card[3002]; | ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbIncorect0
21ms557kbIncorect0
33ms819kbOK10
42ms5013kbMemory limit exceeded0
52ms5013kbMemory limit exceeded0
62ms5013kbMemory limit exceeded0
73ms5013kbMemory limit exceeded0
82ms5013kbMemory limit exceeded0
92ms5013kbMemory limit exceeded0
102ms5013kbMemory limit exceeded0
Punctaj total10

Ceva nu functioneaza?