Borderou de evaluare (job #2722384)

Utilizator AdrianSkStanciu Adrian AdrianSk Data 12 martie 2021 19:57:04
Problema Tarabe Status done
Runda simulare.well1112 Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:5:15: warning: missing terminating " character ofstream fout("tarabe.out); ^ main.cpp:5:15: error: missing terminating " character ofstream fout("tarabe.out); ^~~~~~~~~~~~~ main.cpp:7:8: error: 'k' has not been declared int n, k; ^ main.cpp:7:9: error: expected ')' before ';' token int n, k; ^ main.cpp: In function 'void sum(int, int)': main.cpp:12:20: error: 'n' was not declared in this scope int p = 0, copy = n; ^ main.cpp: In function 'int main()': main.cpp:23:9: error: 'n' was not declared in this scope fin >> n >> k; ^ main.cpp:23:14: error: 'k' was not declared in this scope fin >> n >> k; ^ main.cpp:35:7: error: invalid operands of types 'std::ofstream(int, int) {aka std::basic_ofstream<char>(int, int)}' and 'int' to binary 'operator<<' fout << suma; ~~~~~^~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?