Borderou de evaluare (job #816504)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Minnr (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 27 mar. 2025 18:07:17 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:11:1: error: 'ifstream' does not name a type
11 | ifstream in("minnr.in");
| ^~~~~~~~
main.cpp:12:1: error: 'ofstream' does not name a type
12 | ofstream out("minnr.out");
| ^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:16:5: error: 'in' was not declared in this scope; did you mean 'i'?
16 | in>>n;
| ^~
| i
main.cpp:23:13: error: 'out' was not declared in this scope
23 | out<<i;
| ^~~