Borderou de evaluare (job #2751446)
Utilizator | Data | 15 mai 2021 00:40:37 | |
---|---|---|---|
Problema | Curatenie | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:39:1: error: 'EU' does not name a type
EU:
^~
main.cpp:45:11: error: redefinition of 'std::ifstream f'
ifstream f("curatenie.in");
^
main.cpp:6:10: note: 'std::ifstream f' previously declared here
ifstream f("curatenie.in");
^
main.cpp:46:11: error: redefinition of 'std::ofstream g'
ofstream g("curatenie.out");
^
main.cpp:7:10: note: 'std::ofstream g' previously declared here
ofstream g("curatenie.out");
^
main.cpp:48:5: error: redefinition of 'int n'
int n, var2[100], var1[100], poz[100], rad, st, dr, x, cnt, tata[100][2];
^
main.cpp:9:5: note: 'int n' previously declared here
int n, pre[100], in[100], pos[100];
^
main.cpp: In function 'int main()':
main.cpp:63:5: error: redefinition of 'int main()'
int main() {
^~~~
main.cpp:24:5: note: 'int main()' previously defined here
int main() {
^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !