Borderou de evaluare (job #1126936)

Utilizator tudorcomanTudor Coman tudorcoman Data 27 februarie 2014 10:31:15
Problema CMMDC Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:10:19: error: ‘a’ was not declared in this scope scanf( "%d%d", &a, &b ); ^ user.cpp:10:23: error: ‘b’ was not declared in this scope scanf( "%d%d", &a, &b ); ^ user.cpp:12:5: error: ‘r’ was not declared in this scope r = a % b; ^ user.cpp: At global scope: user.cpp:20:5: error: expected unqualified-id before ‘return’ return 0; ^ user.cpp:21:1: error: expected declaration before ‘}’ token } ^

Ceva nu functioneaza?