Borderou de evaluare (job #3348636)
| Utilizator | Data | 23 martie 2026 11:24:16 | |
|---|---|---|---|
| Problema | Xor Max | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp:2:7: error: 'maxn' was not declared in this scope
2 | int A[maxn];
| ^~~~
main.cpp: In function 'int main()':
main.cpp:9:33: error: 'stdin' was not declared in this scope
9 | freopen ("xormax.in", "rt", stdin);
| ^~~~~
main.cpp:1:1: note: 'stdin' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
+++ |+#include <cstdio>
1 | int N;
main.cpp:9:5: error: 'freopen' was not declared in this scope
9 | freopen ("xormax.in", "rt", stdin);
| ^~~~~~~
main.cpp:10:34: error: 'stdout' was not declared in this scope
10 | freopen ("xormax.out", "wt", stdout);
| ^~~~~~
main.cpp:10:34: note: 'stdout' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
main.cpp:13:5: error: 'scanf' was not declared in this scope
13 | scanf ("%d", &N);
| ^~~~~
main.cpp:16:22: error: 'A' was not declared in this scope
16 | scanf ("%d", A + i);
| ^
main.cpp:24:18: error: 'A' was not declared in this scope
24 | y ^= A[j];
| ^
main.cpp:37:5: error: 'printf' was not declared in this scope
37 | printf ("%d %d %d\n", best_y, best_start + 1, best_end + 1);
| ^~~~~~
main.cpp:37:5: note: 'printf' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
