Borderou de evaluare (job #619869)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Case (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 6 dec. 2021 16:24:34 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:3:1: error: 'ifstream' does not name a type
3 | ifstream fin("case.in");
| ^~~~~~~~
main.cpp:4:1: error: 'ofstream' does not name a type
4 | ofstream fout("case.out");
| ^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:10:5: error: 'fin' was not declared in this scope
10 | fin>>n;
| ^~~
main.cpp:22:5: error: 'fout' was not declared in this scope
22 | fout<<nr1<<endl<<nr2<<endl<<nr3<<endl<<s<<endl<<z<<endl<<u;
| ^~~~
main.cpp:9:15: warning: unused variable 'y' [-Wunused-variable]
9 | int n,i,x,y,u,z,s,m,nr1,nr2,nr3;
| ^