Borderou de evaluare (job #2987166)

Utilizator MihaiZ777MihaiZ MihaiZ777 Data 2 martie 2023 01:01:32
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:55:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 55 | if (rgA >= lfB && rgA <= rgB || lfA >= lfB && lfA <= rgB) { | ~~~~~~~~~~~^~~~~~~~~~~~~ main.cpp:59:31: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | else if (topA >= botB && topA <= topB || botA >= botB && botA <= topB) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ main.cpp: In static member function 'static double Node::Distance(Node, Node)': main.cpp:69:13: warning: unused variable 'topA' [-Wunused-variable] 69 | int topA = a.Top(); | ^~~~ main.cpp:70:13: warning: unused variable 'botA' [-Wunused-variable] 70 | int botA = a.Bot(); | ^~~~ main.cpp:71:13: warning: unused variable 'lfA' [-Wunused-variable] 71 | int lfA = a.Lf(); | ^~~ main.cpp:72:13: warning: unused variable 'rgA' [-Wunused-variable] 72 | int rgA = a.Rg(); | ^~~ main.cpp:74:13: warning: unused variable 'topB' [-Wunused-variable] 74 | int topB = b.Top(); | ^~~~ main.cpp:75:13: warning: unused variable 'botB' [-Wunused-variable] 75 | int botB = b.Bot(); | ^~~~ main.cpp:76:13: warning: unused variable 'lfB' [-Wunused-variable] 76 | int lfB = b.Lf(); | ^~~ main.cpp:77:13: warning: unused variable 'rgB' [-Wunused-variable] 77 | int rgB = b.Rg(); | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms184kbOK.2
20ms184kbOK.2
30ms184kbOK.2
40ms184kbOK.2
50ms184kbOK.2
60ms184kbOK.2
70ms184kbOK.2
80ms184kbOK.2
90ms184kbOK.2
100ms184kbOK.2
110ms184kbOK.4
120ms184kbOK.4
130ms184kbOK.4
140ms184kbOK.4
150ms184kbOK.4
160ms184kbOK.4
170ms184kbOK.4
180ms184kbOK.4
190ms184kbOK.4
200ms184kbOK.4
210ms184kbSuma lungimilor rutelor gresita.0
220ms184kbSuma lungimilor rutelor gresita.0
230ms184kbSuma lungimilor rutelor gresita.0
240ms184kbSuma lungimilor rutelor gresita.0
250ms184kbSuma lungimilor rutelor gresita.0
260ms184kbSuma lungimilor rutelor gresita.0
270ms184kbSuma lungimilor rutelor gresita.0
280ms184kbSuma lungimilor rutelor gresita.0
290ms184kbSuma lungimilor rutelor gresita.0
300ms184kbSuma lungimilor rutelor gresita.0
Punctaj total60

Ceva nu functioneaza?