Borderou de evaluare (job #1888381)

Utilizator PipsqweekDumitru Rares Pipsqweek Data 22 februarie 2017 08:26:38
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:7:5: error: expected initializer before ‘ifstream’ ifstream f("cmmdc.in") ^ user.cpp:10:5: error: ‘cmmdc’ was not declared in this scope cmmdc=0; ^ user.cpp:11:15: error: expected primary-expression before ‘=’ token while (a!==b) ^ user.cpp:11:16: error: ‘b’ was not declared in this scope while (a!==b) ^ user.cpp:17:16: error: expected primary-expression before ‘=’ token if (cmmdc!==0) ^ user.cpp:18:9: error: ‘g’ was not declared in this scope g<< cmmdc; ^ user.cpp:20:9: error: ‘g’ was not declared in this scope g<< 0; ^ user.cpp:22:1: error: expected ‘;’ before ‘}’ token } ^

Ceva nu functioneaza?