Borderou de evaluare (job #3291032)
Utilizator | Data | 3 aprilie 2025 10:10:44 | |
---|---|---|---|
Problema | Arbori indexati binar | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:70:10: error: redefinition of 'std::ifstream cin'
70 | ifstream cin("aib.in");
| ^~~
main.cpp:4:10: note: 'std::ifstream cin' previously declared here
4 | ifstream cin("aib.in");
| ^~~
main.cpp:71:10: error: redefinition of 'std::ofstream cout'
71 | ofstream cout("aib.out");
| ^~~~
main.cpp:5:10: note: 'std::ofstream cout' previously declared here
5 | ofstream cout("aib.out");
| ^~~~
main.cpp:73:5: error: redefinition of 'int n'
73 | int n,m,v[150002];
| ^
main.cpp:7:5: note: 'int n' previously declared here
7 | int n,m,v[150002];
| ^
main.cpp:73:7: error: redefinition of 'int m'
73 | int n,m,v[150002];
| ^
main.cpp:7:7: note: 'int m' previously declared here
7 | int n,m,v[150002];
| ^
main.cpp:73:9: error: redefinition of 'int v [150002]'
73 | int n,m,v[150002];
| ^
main.cpp:7:9: note: 'int v [150002]' previously declared here
7 | int n,m,v[150002];
| ^
main.cpp:75:5: error: redefinition of 'int bit(int)'
75 | int bit(int n)//cel mai nesemnificativ bit de 1
| ^~~
main.cpp:9:5: note: 'int bit(int)' previously defined here
9 | int bit(int n)//cel mai nesemnificativ bit de 1
| ^~~
main.cpp:79:6: error: redefinition of 'void add(int, int)'
79 | void add(int poz,int val)
| ^~~
main.cpp:13:6: note: 'void add(int, int)' previously defined here
13 | void add(int poz,int val)
| ^~~
main.cpp:84:5: error: redefinition of 'int sum(int)'
84 | int sum(int x)
| ^~~
main.cpp:18:5: note: 'int sum(int)' previously defined here
18 | int sum(int x)
| ^~~
main.cpp:91:5: error: redefinition of 'int cb(int)'
91 | int cb(int x)
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !