Borderou de evaluare (job #629093)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Prime (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 30 ian. 2022 13:26:16 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:3:1: error: 'ifstream' does not name a type
3 | ifstream fin("prime.in");
| ^~~~~~~~
main.cpp:4:1: error: 'ofstream' does not name a type
4 | ofstream fout("prime.out");
| ^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:23:5: error: 'fin' was not declared in this scope; did you mean 'sin'?
23 | fin>>x>>n;
| ^~~
| sin
main.cpp:27:5: error: 'fout' was not declared in this scope
27 | fout<<x<<'\n';
| ^~~~