Borderou de evaluare (job #743518)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cezark (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 9 nov. 2023 18:26:38 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:3:1: error: 'ifstream' does not name a type
3 | ifstream in ("cezark.in")
| ^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:10:3: error: 'in' was not declared in this scope; did you mean 'n'?
10 | in>>k;
| ^~
| n
main.cpp:20:11: error: 'out' was not declared in this scope
20 | out<<A;
| ^~~
main.cpp:9:7: warning: unused variable 'n' [-Wunused-variable]
9 | int n,x,k;
| ^