Borderou de evaluare (job #802428)

Utilizator avatar Andillusion Andrei Craciun Andillusion IP ascuns
Problemă Cuvinte (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 5 ian. 2025 14:23:50 Scor 0

Raport evaluator

Eroare de compilare: main.cpp:5:5: error: 'ifstream' does not name a type 5 | ifstream input("cuvinte.in"); | ^~~~~~~~ main.cpp:6:5: error: 'ofstream' does not name a type 6 | ofstream output("cuvinte.out"); | ^~~~~~~~ main.cpp: In function 'int main()': main.cpp:13:13: error: 'input' was not declared in this scope; did you mean 'int'? 13 | getline(input, text); | ^~~~~ | int main.cpp:29:5: error: 'output' was not declared in this scope 29 | output << numarCuvinte << endl; | ^~~~~~