Borderou de evaluare (job #751238)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cadouri | Compilator | cpp-32 |
Rundă | vs_7_8_9_dec | Status | evaluat |
Dată | 16 dec. 2023 10:10:07 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:3:1: error: 'ifstream' does not name a type
3 | ifstream fin("cadouri.in");
| ^~~~~~~~
main.cpp:4:1: error: 'ofstream' does not name a type
4 | ofstream fout("cadouri.out");
| ^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:11:5: error: 'fin' was not declared in this scope; did you mean 'sin'?
11 | fin >> c;
| ^~~
| sin
main.cpp:23:9: error: 'fout' was not declared in this scope
23 | fout<<s;
| ^~~~
main.cpp:33:9: error: 'fout' was not declared in this scope
33 | fout<<cnt;
| ^~~~