Borderou de evaluare (job #2615819)
Utilizator | Data | 15 mai 2020 17:12:25 | |
---|---|---|---|
Problema | Bemo | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:143:14: error: conflicting declaration 'std::ofstream cout'
ofstream cout("bemo.out");
^
main.cpp:137:11: note: previous declaration as 'OutParser cout'
OutParser cout("bemo.out");
^~~~
main.cpp:145:11: error: redefinition of 'const int nm'
const int nm=1505;
^~
main.cpp:7:11: note: 'const int nm' previously defined here
const int nm=1505;
^~
main.cpp:152:7: error: redefinition of 'class InParser'
class InParser {
^~~~~~~~
main.cpp:12:7: error: previous definition of 'class InParser'
class InParser {
^~~~~~~~
main.cpp:210:13: error: redefinition of 'InParser cin'
InParser cin("bemo.in");
^
main.cpp:136:10: note: 'InParser cin' previously declared here
InParser cin("bemo.in");
^~~
main.cpp: In function 'void marcare()':
main.cpp:226:9: warning: unused variable 'cnt' [-Wunused-variable]
int cnt=0;
^~~
main.cpp: In function 'void rez()':
main.cpp:247:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(M[i][j])
^~
main.cpp:249:12: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
cout.close();
^~~~
main.cpp:249:17: error: 'class OutParser' has no member named 'close'
cout.close();
^~~~~
main.cpp: In member function 'char InParser::read_ch()':
main.cpp:22:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fread(buff, 1, 4096, fin);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !