Borderou de evaluare (job #3176223)
Utilizator | Data | 26 noiembrie 2023 20:54:23 | |
---|---|---|---|
Problema | Bacterii2 | Status | done |
Runda | Arhiva ICPC | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'std::vector<int> multiply(const std::vector<int>&, const std::vector<int>&)':
main.cpp:51:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
51 | while (n < a.size() + b.size()) {
| ~~^~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void testCase()':
main.cpp:86:19: error: 'max_element' was not declared in this scope
86 | vector<int> fa(*max_element(a.begin(), a.end()) + 1);
| ^~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !