Borderou de evaluare (job #2963849)
Utilizator | Data | 12 ianuarie 2023 08:52:28 | |
---|---|---|---|
Problema | A+B | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:5:11: error: conflicting declaration 'std::ofstream fin'
5 | ofstream fin("bucati.out");
| ^~~
main.cpp:4:10: note: previous declaration as 'std::ifstream fin'
4 | ifstream fin("bucati.in");
| ^~~
main.cpp: In function 'int main()':
main.cpp:9:9: error: 'n' was not declared in this scope
9 | cin>>c>>n;
| ^
main.cpp:8:33: warning: unused variable 's' [-Wunused-variable]
8 | { int c,v[12],i=1;long long int s;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !