Borderou de evaluare (job #2228722)
Utilizator | Data | 4 august 2018 17:26:43 | |
---|---|---|---|
Problema | Joc2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int mex(std::vector<int>)’:
user.cpp:10:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(auto x : v) if(app.size() > x) app[x] = true;
~~~~~~~~~~~^~~
user.cpp:11:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < v.size(); ++i)
~~^~~~~~~~~~
user.cpp: In function ‘void calc_nims()’:
user.cpp:16:31: error: ‘memset’ was not declared in this scope
memset(nim, 0, sizeof(nim));
^
user.cpp: In function ‘int mex(std::vector<int>)’:
user.cpp:13:23: warning: control reaches end of non-void function [-Wreturn-type]
return i; }
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !