Borderou de evaluare (job #818895)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cuvinte (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 6 apr. 2025 15:20:27 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:3:7: error: expected nested-name-specifier before 'namesapce'
3 | using namesapce std;
| ^~~~~~~~~
main.cpp:5:1: error: 'ifstream' does not name a type
5 | ifstream in("cuvinte.in");
| ^~~~~~~~
main.cpp:6:1: error: 'ofstream' does not name a type
6 | ofstream out("cuvinte.out");
| ^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:12:11: error: 'in' was not declared in this scope; did you mean 'int'?
12 | while(in.get(c))
| ^~
| int
main.cpp:22:5: error: 'out' was not declared in this scope
22 | out<<a;
| ^~~