Borderou de evaluare (job #3235140)
Utilizator | Data | 15 iunie 2024 15:52:56 | |
---|---|---|---|
Problema | Schi | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:63:2: error: stray '#' in program
63 | }#include <iostream>
| ^
main.cpp:63:3: error: 'include' does not name a type
63 | }#include <iostream>
| ^~~~~~~
main.cpp:67:10: error: redefinition of 'std::ifstream f'
67 | ifstream f("schi.in");
| ^
main.cpp:5:10: note: 'std::ifstream f' previously declared here
5 | ifstream f("schi.in");
| ^
main.cpp:68:10: error: redefinition of 'std::ofstream g'
68 | ofstream g("schi.out");
| ^
main.cpp:6:10: note: 'std::ofstream g' previously declared here
6 | ofstream g("schi.out");
| ^
main.cpp:70:11: error: redefinition of 'const int NMAX'
70 | const int NMAX = 30001;
| ^~~~
main.cpp:8:11: note: 'const int NMAX' previously defined here
8 | const int NMAX = 30001;
| ^~~~
main.cpp:72:5: error: redefinition of 'int v [120004]'
72 | int v[NMAX * 4], poz[NMAX], sol[NMAX];
| ^
main.cpp:10:5: note: 'int v [120004]' previously declared here
10 | int v[NMAX * 4], poz[NMAX], sol[NMAX];
| ^
main.cpp:72:18: error: redefinition of 'int poz [30001]'
72 | int v[NMAX * 4], poz[NMAX], sol[NMAX];
| ^~~
main.cpp:10:18: note: 'int poz [30001]' previously declared here
10 | int v[NMAX * 4], poz[NMAX], sol[NMAX];
| ^~~
main.cpp:72:29: error: redefinition of 'int sol [30001]'
72 | int v[NMAX * 4], poz[NMAX], sol[NMAX];
| ^~~
main.cpp:10:29: note: 'int sol [30001]' previously declared here
10 | int v[NMAX * 4], poz[NMAX], sol[NMAX];
| ^~~
main.cpp:74:5: error: redefinition of 'int query(int, int, int, int)'
74 | int query(int node, int from, int to, int val)
| ^~~~~
main.cpp:12:5: note: 'int query(int, int, int, int)' previously defined here
12 | int query(int node, int from, int to, int val)
| ^~~~~
main.cpp:92:6: error: redefinition of 'void update(int, int, int, int, int)'
92 | void update(int node, int from, int to, int pos, int val)
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !