Borderou de evaluare (job #783476)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | La școală (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 7 aug. 2024 15:46:22 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:4:1: error: 'ifstream' does not name a type
4 | ifstream.in ("lascoala.in")
| ^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:12:4: error: 'cin' was not declared in this scope; did you mean 'sin'?
12 | cin >> n;
| ^~~
| sin
main.cpp:18:5: error: 'cout' was not declared in this scope
18 | cout << np;
| ^~~~
main.cpp:11:14: warning: unused variable 'i' [-Wunused-variable]
11 | int n,k=1,i,np;
| ^