Borderou de evaluare (job #2761210)

Utilizator AndreeaElena24Stanciu Andreea-Elena AndreeaElena24 Data 1 iulie 2021 09:41:46
Problema Xor Max Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int xormax(int, int)': main.cpp:13:21: error: lvalue required as left operand of assignment axorb+1=1; ^ main.cpp:16:8: error: invalid conversion from 'int (*)(int, int)' to 'int' [-fpermissive] return xormax; ^~~~~~ main.cpp: In function 'int main()': main.cpp:22:8: error: 'a' was not declared in this scope f>>a; ^ main.cpp:23:8: error: 'b' was not declared in this scope f>>b; ^ Non zero exit status: 1

Ceva nu functioneaza?