Borderou de evaluare (job #3319784)
| Utilizator | Data | 3 noiembrie 2025 11:29:17 | |
|---|---|---|---|
| Problema | Order | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:26:5: error: 'fin' was not declared in this scope
26 | fin = fopen("order.in", "r");
| ^~~
main.cpp:27:24: error: 'n' was not declared in this scope
27 | fscanf(fin, "%d", &n);
| ^
main.cpp:34:5: error: 'p2' was not declared in this scope; did you mean 'n2'?
34 | p2 = 1;
| ^~
| n2
main.cpp:39:5: error: 'fout' was not declared in this scope
39 | fout = fopen("order.out", "w");
| ^~~~
main.cpp:40:5: error: 'poz' was not declared in this scope
40 | poz = 2;
| ^~~
main.cpp:43:9: error: 'x' was not declared in this scope
43 | x = i % (n - i + 1);
| ^
main.cpp:47:9: error: 'val' was not declared in this scope
47 | val = bitSum(poz - 1);
| ^~~
main.cpp:48:15: error: 's' was not declared in this scope
48 | poz = s = 0;
| ^
main.cpp:49:14: error: 'p' was not declared in this scope
49 | for (p = p2; p >= 0; p--) {
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
