Borderou de evaluare (job #672915)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cifre comune (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 31 oct. 2022 11:42:56 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:3:12: error: variable 'std::ifstream in' has initializer but incomplete type
3 | ifstream in("cfcomune.in");
| ^
main.cpp:4:13: error: variable 'std::ofstream out' has initializer but incomplete type
4 | ofstream out("cfcomune.out");
| ^
main.cpp: In function 'int main()':
main.cpp:17:12: error: 'vi' was not declared in this scope; did you mean 'i'?
17 | if(vi]!=0)
| ^~
| i
main.cpp:17:14: error: expected ')' before ']' token
17 | if(vi]!=0)
| ~ ^
| )
main.cpp:17:14: error: expected primary-expression before ']' token