Borderou de evaluare (job #3039180)
Utilizator | Data | 28 martie 2023 11:42:25 | |
---|---|---|---|
Problema | Custi | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:4:1: error: 'ifstream' does not name a type
4 | ifstream fin("custi.in");
| ^~~~~~~~
main.cpp:5:1: error: 'ofstream' does not name a type
5 | ofstream fout("custi.out");
| ^~~~~~~~
main.cpp:8:1: error: 'vector' does not name a type
8 | vector<int> sol;
| ^~~~~~
main.cpp: In function 'int main()':
main.cpp:13:5: error: 'fin' was not declared in this scope
13 | fin>>n;
| ^~~
main.cpp:29:9: error: 'sol' was not declared in this scope
29 | sol.push_back(curr);
| ^~~
main.cpp:32:17: error: 'sol' was not declared in this scope
32 | for(int i = sol.size() - 1; i >= 0; i--)
| ^~~
main.cpp:33:9: error: 'fout' was not declared in this scope
33 | fout<<sol[i]<<'\n';
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !