Borderou de evaluare (job #2076957)
Utilizator | Data | 27 noiembrie 2017 15:15:38 | |
---|---|---|---|
Problema | Minusk | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:24:0: warning: "nm" redefined [enabled by default]
#define nm 100001
^
user.cpp:3:0: note: this is the location of the previous definition
#define nm 100000
^
user.cpp:28:13: error: redefinition of ‘std::ifstream fin’
ifstream fin("move.in");
^
user.cpp:7:10: error: ‘std::ifstream fin’ previously declared here
ifstream fin("minusk.in");
^
user.cpp:29:14: error: redefinition of ‘std::ofstream fout’
ofstream fout("move.out");
^
user.cpp:8:10: error: ‘std::ofstream fout’ previously declared here
ofstream fout("minusk.out");
^
user.cpp: In function ‘int main()’:
user.cpp:33:5: error: redefinition of ‘int main()’
int main()
^
user.cpp:10:5: error: ‘int main()’ previously defined here
int main()
^
user.cpp:35:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !