Borderou de evaluare (job #2999581)
Utilizator | Data | 11 martie 2023 10:40:14 | |
---|---|---|---|
Problema | Ramen | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:1:2: error: invalid preprocessing directive #inlude; did you mean #include?
1 | #inlude <fstream>
| ^~~~~~
| include
main.cpp:6:1: error: 'ifstream' does not name a type
6 | ifstream in("ramen.in");
| ^~~~~~~~
main.cpp:7:1: error: 'ofstream' does not name a type
7 | ofstream out("ramen.out");
| ^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:33:5: error: 'in' was not declared in this scope; did you mean 'n'?
33 | in >> n >> d;
| ^~
| n
main.cpp:41:5: error: 'sort' was not declared in this scope; did you mean 'short'?
41 | sort(v + 1, v + n + 1, cmp);
| ^~~~
| short
main.cpp:51:9: error: 'out' was not declared in this scope
51 | out << ans[i] << '\n';
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !