Borderou de evaluare (job #2207329)
Utilizator | Data | 25 mai 2018 15:29:02 | |
---|---|---|---|
Problema | Cel mai lung subsir comun | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:42:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(sol.size() == best)
~~~~~~~~~~~^~~~~~~
user.cpp:51:35: error: ‘reverse’ was not declared in this scope
reverse(sol.begin(), sol.end());
^
user.cpp:52:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0 ;i < sol.size(); i++)
~~^~~~~~~~~~~~
user.cpp:14:24: warning: unused variable ‘i’ [-Wunused-variable]
int m, n, x, best, i, j;
^
user.cpp:14:27: warning: unused variable ‘j’ [-Wunused-variable]
int m, n, x, best, i, j;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !