Borderou de evaluare (job #2567955)

Utilizator victorv88Veltan Victor victorv88 Data 3 martie 2020 19:51:56
Problema Taxi Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:29:41: error: invalid operands of types 'double' and 'int' to binary 'operator%' else if ((abs(x2-x3)+abs(y2-y3))%2==1) ~~~~~~~~~~~~~~~~~~~~~~~^~ main.cpp:45:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (y3<y2 && x3<x2 || y2<y3 && x2<x3) ~~~~~~^~~~~~~~ main.cpp:47:32: warning: suggest parentheses around '&&' within '||' [-Wparentheses] else if (y3<y2 && x3>x2 || y2<y3 && x2>x3) ~~~~~~^~~~~~~~ main.cpp:49:32: warning: suggest parentheses around '&&' within '||' [-Wparentheses] else if (y3>y2 && x3>x2 || y2>y3 && x2>x3) ~~~~~~^~~~~~~~ main.cpp:51:32: warning: suggest parentheses around '&&' within '||' [-Wparentheses] else if (y3>y2 && x3<x2 || y2>y3 && x2<x3) ~~~~~~^~~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?