Borderou de evaluare (job #2859473)
Utilizator | Data | 1 martie 2022 14:19:41 | |
---|---|---|---|
Problema | Roboti3 | Status | done |
Runda | tp4 | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:6:1: error: 'ifstream' does not name a type
6 | ifstream f("roboti3.in");
| ^~~~~~~~
main.cpp:7:1: error: 'ofstream' does not name a type
7 | ofstream g("roboti3.out");
| ^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:13:5: error: 'f' was not declared in this scope
13 | f>>v;
| ^
main.cpp:24:5: error: 'g' was not declared in this scope
24 | g<<best_secv;
| ^
main.cpp:12:28: warning: unused variable 'x' [-Wunused-variable]
12 | int secv=0,best_secv=0,x,max=INT_MIN,n,a[1001],v;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !