Borderou de evaluare (job #2233502)
Utilizator | Data | 23 august 2018 15:11:27 | |
---|---|---|---|
Problema | Subsir crescator maximal | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘std::vector<int> runAlgorithm(std::vector<int>)’:
user.cpp:23:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i < input.size(); ++i)
~~^~~~~~~~~~~~~~
user.cpp:26:12: warning: variable ‘candidatesUpdated’ set but not used [-Wunused-but-set-variable]
bool candidatesUpdated = false;
^~~~~~~~~~~~~~~~~
user.cpp:51:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(maxSize < candidate.size())
~~~~~~~~^~~~~~~~~~~~~~~~~~
user.cpp:60:12: error: a function-definition is not allowed here before ‘{’ token
int main() {
^
user.cpp:80:1: error: expected ‘}’ at end of input
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !