Borderou de evaluare (job #2826537)
Utilizator | Data | 5 ianuarie 2022 12:05:21 | |
---|---|---|---|
Problema | Twinperms | Status | done |
Runda | Algoritmiada 2022 Runda 1 | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:2:1: error: 'ifstream' does not name a type
2 | ifstream f("twinperms.in");
| ^~~~~~~~
main.cpp:3:1: error: 'ofstream' does not name a type
3 | ofstream g("twinperms.out");
| ^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:9:5: error: 'f' was not declared in this scope
9 | f >> n;
| ^
main.cpp:10:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
10 | for(int i=1;i<=n;i++)
| ^~~
main.cpp:12:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
12 | for(int i=1;i<=n;i++)
| ^~~
main.cpp:14:5: error: 'g' was not declared in this scope
14 | g << '0';
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !