Borderou de evaluare (job #2237034)
Utilizator | Data | 31 august 2018 13:52:02 | |
---|---|---|---|
Problema | Subsir crescator maximal | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:39:18: warning: overflow in implicit constant conversion [-Woverflow]
const int LINF = 0x3f3f3f3f3f3f3f3f;
^~~~~~~~~~~~~~~~~~
user.cpp: In function ‘bool bs(int)’:
user.cpp:70:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(poz - 1 == temp.size() - 1)
~~~~~~~~^~~~~~~~~~~~~~~~~~
user.cpp: At global scope:
user.cpp:78:6: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type]
main()
^
user.cpp: In function ‘int main()’:
user.cpp:97:28: error: ‘sort’ was not declared in this scope
sort(v + 1, v + 1 + n, cmp);
^
user.cpp:114:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(poz == temp.size())
~~~~^~~~~~~~~~~~~~
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !