Borderou de evaluare (job #1762255)
Utilizator | Data | 23 septembrie 2016 13:51:52 | |
---|---|---|---|
Problema | Bucket | Status | done |
Runda | Algoritmiada 2016 Runda Finala Seniors | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In member function ‘opfstream& opfstream::operator<<(char)’:
user.cpp:33:5: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:79:51: warning: narrowing conversion of ‘xp’ from ‘int’ to ‘long long unsigned int’ inside { } [-Wnarrowing]
cs.push_back(constraint { xp, xc, true});
^
user.cpp:79:51: warning: narrowing conversion of ‘xc’ from ‘int’ to ‘long long unsigned int’ inside { } [-Wnarrowing]
user.cpp:84:52: warning: narrowing conversion of ‘xp’ from ‘int’ to ‘long long unsigned int’ inside { } [-Wnarrowing]
cs.push_back(constraint { xp, xc, false});
^
user.cpp:84:52: warning: narrowing conversion of ‘xc’ from ‘int’ to ‘long long unsigned int’ inside { } [-Wnarrowing]
user.cpp:96:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < cs.size(); ++i){
^
user.cpp:97:29: error: ‘c’ was not declared in this scope
satisfies[i] = !c.eq; }
^
user.cpp:103:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(nr_good == cs.size()){
^
user.cpp:110:66: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(cs[ind].x / cur_val) == (cs[ind].y / cur_val));
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !