Borderou de evaluare (job #2987162)

Utilizator MihaiZ777MihaiZ MihaiZ777 Data 2 martie 2023 00:22:42
Problema Elicoptere Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 60

Raport evaluator

Compilare: main.cpp: In static member function 'static bool Node::Connected(Node, Node)': main.cpp:54:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 54 | if (rgA >= lfB && rgA <= rgB || lfA >= lfB && lfA <= rgB) { | ~~~~~~~~~~~^~~~~~~~~~~~~ main.cpp:58:31: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 58 | else if (topA >= botB && topA <= topB || botA >= botB && botA <= topB) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ main.cpp: In static member function 'static double Node::Distance(Node, Node)': main.cpp:68:13: warning: unused variable 'topA' [-Wunused-variable] 68 | int topA = a.Top(); | ^~~~ main.cpp:69:13: warning: unused variable 'botA' [-Wunused-variable] 69 | int botA = a.Bot(); | ^~~~ main.cpp:70:13: warning: unused variable 'lfA' [-Wunused-variable] 70 | int lfA = a.Lf(); | ^~~ main.cpp:71:13: warning: unused variable 'rgA' [-Wunused-variable] 71 | int rgA = a.Rg(); | ^~~ main.cpp:73:13: warning: unused variable 'topB' [-Wunused-variable] 73 | int topB = b.Top(); | ^~~~ main.cpp:74:13: warning: unused variable 'botB' [-Wunused-variable] 74 | int botB = b.Bot(); | ^~~~ main.cpp:75:13: warning: unused variable 'lfB' [-Wunused-variable] 75 | int lfB = b.Lf(); | ^~~ main.cpp:76:13: warning: unused variable 'rgB' [-Wunused-variable] 76 | int rgB = b.Rg(); | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms172kbOK.2
20ms172kbOK.2
30ms172kbOK.2
40ms172kbOK.2
50ms303kbOK.2
60ms303kbOK.2
70ms303kbOK.2
80ms303kbOK.2
90ms303kbOK.2
100ms303kbOK.2
110ms172kbOK.4
120ms172kbOK.4
130ms172kbOK.4
140ms172kbOK.4
150ms303kbOK.4
160ms303kbOK.4
170ms303kbOK.4
180ms303kbOK.4
190ms303kbOK.4
200ms303kbOK.4
210ms172kbSuma lungimilor rutelor gresita.0
220ms172kbSuma lungimilor rutelor gresita.0
230ms172kbSuma lungimilor rutelor gresita.0
240ms172kbSuma lungimilor rutelor gresita.0
250ms303kbSuma lungimilor rutelor gresita.0
260ms303kbSuma lungimilor rutelor gresita.0
270ms303kbSuma lungimilor rutelor gresita.0
280ms303kbSuma lungimilor rutelor gresita.0
290ms303kbSuma lungimilor rutelor gresita.0
300ms303kbSuma lungimilor rutelor gresita.0
Punctaj total60

Ceva nu functioneaza?