Borderou de evaluare (job #734161)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Litere (clasa a 7-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 29 sept. 2023 19:12:35 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:1:1: error: 'include' does not name a type
1 | include <fstream>
| ^~~~~~~
main.cpp: In function 'int main()':
main.cpp:10:5: error: 'ifstream' was not declared in this scope
10 | ifstream cin("litere.in");
| ^~~~~~~~
main.cpp:11:5: error: 'ofstream' was not declared in this scope
11 | ofstream cout("litere.out");
| ^~~~~~~~
main.cpp:14:5: error: 'string' was not declared in this scope
14 | string s;
| ^~~~~~
main.cpp:16:5: error: 'cin' was not declared in this scope
16 | cin>>n>>s>>m;
| ^~~
main.cpp:16:13: error: 's' was not declared in this scope
16 | cin>>n>>s>>m;
| ^
main.cpp:32:5: error: 'cout' was not declared in this scope
32 | cout<<cnt<<'\n';
| ^~~~