Borderou de evaluare (job #3286702)
Utilizator | Data | 14 martie 2025 15:49:08 | |
---|---|---|---|
Problema | Inv | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int mergeAndCount(std::vector<int>&, int, int, int)':
main.cpp:26:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
26 | for (int k = 0; k < temp.size(); k++)
| ~~^~~~~~~~~~~~~
main.cpp: In function 'int nrOfInv(std::vector<int>&, int, int)':
main.cpp:36:65: error: 'MODULO' was not declared in this scope
36 | int inv = (nrOfInv(a, st, mid) + nrOfInv(a, mid + 1, dr)) % MODULO;
| ^~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !