Borderou de evaluare (job #2205781)
Utilizator | Data | 20 mai 2018 11:58:45 | |
---|---|---|---|
Problema | Piete | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:97:9: warning: unused variable ‘black’ [-Wunused-variable]
int black = 1;
^~~~~
user.cpp:98:9: warning: unused variable ‘st’ [-Wunused-variable]
int st = 1;
^~
user.cpp:99:9: warning: unused variable ‘cur’ [-Wunused-variable]
int cur = 0;
^~~
user.cpp:114:12: error: ‘black’ was not declared in this scope
out << black;
^~~~~
user.cpp: At global scope:
user.cpp:117:3: error: expected unqualified-id before ‘return’
return 0;
^~~~~~
user.cpp:118:1: error: expected declaration before ‘}’ token
}
^
user.cpp: In function ‘bool cmp(event, event)’:
user.cpp:66:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !