Borderou de evaluare (job #3262397)
Utilizator | Data | 10 decembrie 2024 09:31:17 | |
---|---|---|---|
Problema | Sortnet | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:11:1: error: 'ifstrean' does not name a type
11 | ifstrean fin("sortnet.in");
| ^~~~~~~~
main.cpp:12:1: error: 'ofstrean' does not name a type
12 | ofstrean fout("sortnet.out");
| ^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:6:12: error: 'fin' was not declared in this scope; did you mean 'sin'?
6 | #define in fin
| ^~~
main.cpp:18:15: note: in expansion of macro 'in'
18 | int n, m; in >> n >> m;
| ^~
main.cpp:73:17: warning: unused variable 'bit1' [-Wunused-variable]
73 | int bit1 = min(1, (pas[i - 1] & (1 << p)));
| ^~~~
main.cpp:7:13: error: 'fout' was not declared in this scope; did you mean 'out'?
7 | #define out fout
| ^~~~
main.cpp:104:5: note: in expansion of macro 'out'
104 | out << cnt << '\n';
| ^~~
main.cpp:53:9: warning: unused variable 'prev' [-Wunused-variable]
53 | int prev = 0;
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !