Borderou de evaluare (job #740213)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cifre1 (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 24 oct. 2023 19:34:42 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:4:12: error: variable 'std::ifstream in' has initializer but incomplete type
4 | ifstream in("cifra1.in");
| ^
main.cpp:5:13: error: variable 'std::ofstream out' has initializer but incomplete type
5 | ofstream out("cifra1.out");
| ^
main.cpp: In function 'int main()':
main.cpp:20:11: error: 'auz' was not declared in this scope; did you mean 'aux'?
20 | w[auz]++;
| ^~~
| aux
main.cpp:9:13: warning: unused variable 'nrmax' [-Wunused-variable]
9 | int a,b,nrmax=0,i,aux;
| ^~~~~