Borderou de evaluare (job #3181297)

Utilizator cristianmhlMihalachi Cristian cristianmhl Data 6 decembrie 2023 20:17:06
Problema CMMDC Status done
Runda Arhiva de probleme Compilator c-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.c: In function 'cmmd': main.c:4:16: error: 'b' undeclared (first use in this function) 4 | int temp = b; | ^ main.c:4:16: note: each undeclared identifier is reported only once for each function it appears in main.c:5:9: error: 'a' undeclared (first use in this function) 5 | b = a % b; | ^ main.c: In function 'main': main.c:16:32: warning: unused variable 'rest' [-Wunused-variable] 16 | int number1, number2, rsp, rest; | ^~~~ main.c: In function 'cmmd': main.c:13:1: warning: control reaches end of non-void function [-Wreturn-type] 13 | } | ^ Non zero exit status: 1

Ceva nu functioneaza?