Borderou de evaluare (job #1921461)

Utilizator dey44andIoja Andrei-Iosif dey44and Data 10 martie 2017 12:49:16
Problema CMMDC Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int divizor(int, int)’: user.cpp:14:9: error: ‘b’ was not declared in this scope return b; ^ user.cpp: In function ‘int main()’: user.cpp:20:2: error: ‘cin’ was not declared in this scope cin>>a>>b; ^ user.cpp:21:2: error: ‘cout’ was not declared in this scope cout<<divizor(a,b); ^ user.cpp: In function ‘int divizor(int, int)’: user.cpp:15:1: warning: control reaches end of non-void function [-Wreturn-type] } ^

Ceva nu functioneaza?