Borderou de evaluare (job #3214336)
Utilizator | Data | 14 martie 2024 08:06:58 | |
---|---|---|---|
Problema | Sirbun | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:3:1: error: 'ifstream' does not name a type
3 | ifstream fin ("sirbun.in");
| ^~~~~~~~
main.cpp:4:1: error: 'ofstream' does not name a type
4 | ofstream fout("sirbun.out")
| ^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:47:5: error: 'fin' was not declared in this scope
47 | fin>>n;
| ^~~
main.cpp:47:10: error: 'n' was not declared in this scope
47 | fin>>n;
| ^
main.cpp:50:9: error: 'i' was not declared in this scope
50 | for(i=1;i<=n;i++)
| ^
main.cpp:52:14: error: 'V' was not declared in this scope
52 | fin>>V[i];
| ^
main.cpp:59:9: error: 'sol' was not declared in this scope
59 | sol+=i-st+1;
| ^~~
main.cpp:61:5: error: 'fout' was not declared in this scope
61 | fout<<sol;
| ^~~~
main.cpp:61:11: error: 'sol' was not declared in this scope
61 | fout<<sol;
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !