Borderou de evaluare (job #2657948)
Utilizator | Data | 12 octombrie 2020 18:44:03 | |
---|---|---|---|
Problema | Alge | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:70:13: error: redefinition of 'std::ifstream fin'
ifstream fin("alge.in");
^
main.cpp:5:10: note: 'std::ifstream fin' previously declared here
ifstream fin("alge.in");
^~~
main.cpp:71:14: error: redefinition of 'std::ofstream fout'
ofstream fout("alge.out");
^
main.cpp:6:10: note: 'std::ofstream fout' previously declared here
ofstream fout("alge.out");
^~~~
main.cpp:73:17: error: redefinition of 'int v [37][37][37]'
int v[37][37][37];
^
main.cpp:8:5: note: 'int v [37][37][37]' previously declared here
int v[37][37][37];
^
main.cpp:74:5: error: redefinition of 'int n'
int n,m;
^
main.cpp:9:5: note: 'int n' previously declared here
int n,m;
^
main.cpp:74:7: error: redefinition of 'int m'
int n,m;
^
main.cpp:9:7: note: 'int m' previously declared here
int n,m;
^
main.cpp:75:8: error: redefinition of 'int dx []'
int dx[] = {0,0,-1,1,0,0};
^
main.cpp:10:5: note: 'int dx [6]' previously defined here
int dx[] = {0,0,-1,1,0,0};
^~
main.cpp:76:8: error: redefinition of 'int dy []'
int dy[] = {0,0,0,0,1,-1};
^
main.cpp:11:5: note: 'int dy [6]' previously defined here
int dy[] = {0,0,0,0,1,-1};
^~
main.cpp:77:8: error: redefinition of 'int dz []'
int dz[] = {1,-1,0,0,0,0};
^
main.cpp:12:5: note: 'int dz [6]' previously defined here
int dz[] = {1,-1,0,0,0,0};
^~
main.cpp: In function 'bool valid(int, int, int)':
main.cpp:78:6: error: redefinition of 'bool valid(int, int, int)'
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !