Borderou de evaluare (job #3238439)
Utilizator | Data | 25 iulie 2024 15:57:08 | |
---|---|---|---|
Problema | Colectie | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void computeReqDigits()':
main.cpp:26:3: error: 'reverse' was not declared in this scope
26 | reverse(digitsOfK.begin(), digitsOfK.end());
| ^~~~~~~
main.cpp:27:41: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
27 | for (int numOfDigits = 1; numOfDigits < digitsOfK.size(); numOfDigits++) {
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
main.cpp:37:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
37 | for (int pref = 0; pref < digitsOfK.size(); pref++) {
| ~~~~~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'void generateFirstHalf()':
main.cpp:68:5: error: 'sums' was not declared in this scope; did you mean 'sum'?
68 | sums[sum] = positions;
| ^~~~
| sum
main.cpp: In function 'void generateSecondHalf()':
main.cpp:91:7: error: 'insert' was not declared in this scope
91 | insert(positions.end(), secondHalfPositions.begin(), secondHalfPositions.end());
| ^~~~~~
main.cpp: In function 'int main()':
main.cpp:109:3: error: 'computePowof10' was not declared in this scope; did you mean 'computePowOf10'?
109 | computePowof10();
| ^~~~~~~~~~~~~~
| computePowOf10
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !