Borderou de evaluare (job #631623)

Utilizator avatar rizeacristiana rizea cristiana rizeacristiana IP ascuns
Problemă Reuniunea a doua intervale Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 10 feb. 2022 09:25:50 Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:16:22: error: expected ';' before 'a2' 16 | else(a2 < b2) | ^ | ; 17 | a2 = b2; | ~~ main.cpp:16:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 16 | else(a2 < b2) | ^~~~ main.cpp:18:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 18 | g<<a1<<' '<<a2; | ^ main.cpp:8:25: warning: unused variable 'c' [-Wunused-variable] 8 | int a1, a2, b1, b2, c, d; | ^ main.cpp:8:28: warning: unused variable 'd' [-Wunused-variable] 8 | int a1, a2, b1, b2, c, d; | ^