Borderou de evaluare (job #2904335)
Utilizator | Data | 17 mai 2022 23:17:10 | |
---|---|---|---|
Problema | Farfurii | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:5:12: error: variable 'std::ifstream in' has initializer but incomplete type
5 | ifstream in("farfurii.in");
| ^
main.cpp:6:13: error: variable 'std::ofstream out' has initializer but incomplete type
6 | ofstream out("farfurii.out");
| ^
main.cpp: In function 'int main()':
main.cpp:18:26: error: expected ';' before 'out'
18 | aux = n-(x*(x-1)/2-k)
| ^
| ;
19 |
20 | out<<aux<<" ";
| ~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !