Borderou de evaluare (job #3173176)

Utilizator Radu_MocanasuMocanasu Radu Radu_Mocanasu Data 21 noiembrie 2023 22:36:23
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:27:15: warning: unused variable 'x' [-Wunused-variable] 27 | int m,i,j,x,y; | ^ main.cpp:27:17: warning: unused variable 'y' [-Wunused-variable] 27 | int m,i,j,x,y; | ^ In function 'double dist(const point&, const point&)', inlined from 'int main()' at main.cpp:46:53: main.cpp:14:72: warning: 'poz' may be used uninitialized [-Wmaybe-uninitialized] 14 | 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:37:13: note: 'poz' was declared here 37 | int poz; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms303kbOK520
20ms303kbOK5
30ms303kbOK5
40ms303kbOK5
51ms303kbOK55
61ms303kbOK55
71ms303kbOK55
81ms303kbOK55
91ms303kbOK55
101ms303kbOK55
1114ms303kbOK55
1214ms303kbOK55
1314ms303kbOK55
1414ms303kbOK55
1514ms438kbOK55
1614ms303kbOK55
1714ms303kbOK55
1814ms303kbOK55
1914ms303kbOK55
2014ms303kbOK55
Punctaj total100

Ceva nu functioneaza?