Borderou de evaluare (job #2548965)

Utilizator berkecziirobertBerkeczi Robert berkecziirobert Data 17 februarie 2020 10:43:22
Problema A+B Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:7:16: error: variable 'std::ifstream in' has initializer but incomplete type ifstream in("adunare.in") ^ main.cpp:8:5: error: expected ',' or ';' before 'float' float a,b; ^~~~~ main.cpp:9:9: error: 'a' was not declared in this scope in>>a>>b; ^ main.cpp:9:12: error: 'b' was not declared in this scope in>>a>>b; ^ main.cpp:10:17: error: variable 'std::ofstream out' has initializer but incomplete type ofstream out("adunare.out") ^ main.cpp:11:5: error: expected ',' or ';' before 'out' out<<a+b; ^~~ Non zero exit status: 1

Ceva nu functioneaza?