Borderou de evaluare (job #2914389)
Utilizator | Data | 19 iulie 2022 20:11:24 | |
---|---|---|---|
Problema | NrChei | Status | done |
Runda | Algoritmiada 2022 - Runda 4 | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'll getfrom(std::vector<int>)':
main.cpp:45:10: warning: unused variable 'ceva' [-Wunused-variable]
45 | bool ceva = 0;
| ^~~~
main.cpp:56:12: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
56 | for(auto [X, b] : freq) {
| ^
main.cpp:52:8: warning: unused variable 'ceva' [-Wunused-variable]
52 | bool ceva = 0;
| ^~~~
main.cpp: In function 'void bkt(std::vector<int>)':
main.cpp:67:15: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
67 | if(v.size() > 2 * n + 2)
| ~~~~~~~~~^~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:86:5: error: return-statement with no value, in function returning 'int' [-fpermissive]
86 | return;
| ^~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !