Borderou de evaluare (job #3180079)

Utilizator BogdanPPBogdan Protopopescu BogdanPP Data 4 decembrie 2023 16:37:31
Problema Retea2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:31:15: warning: unused variable 'x' [-Wunused-variable] 31 | int m,i,j,x,y; | ^ main.cpp:31:17: warning: unused variable 'y' [-Wunused-variable] 31 | int m,i,j,x,y; | ^ In function 'double dist(const point&, const point&)', inlined from 'int main()' at main.cpp:50:53: main.cpp:18:72: warning: 'poz' may be used uninitialized [-Wmaybe-uninitialized] 18 | return sqrt(1.0 * (p1.x - p2.x) * (p1.x - p2.x) + 1.0 * (p1.y - p2.y) * (p1.y - p2.y)); | ~~~^ main.cpp: In function 'int main()': main.cpp:41:13: note: 'poz' was declared here 41 | int poz; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms303kbOK520
20ms303kbOK5
30ms303kbOK5
40ms303kbOK5
51ms303kbOK55
61ms303kbOK55
71ms303kbOK55
81ms303kbOK55
91ms303kbOK55
101ms303kbOK55
1114ms442kbOK55
1214ms303kbOK55
1314ms442kbOK55
1414ms303kbOK55
1514ms303kbOK55
1614ms303kbOK55
1714ms303kbOK55
1814ms303kbOK55
1914ms303kbOK55
2014ms303kbOK55
Punctaj total100

Ceva nu functioneaza?