Borderou de evaluare (job #2929844)
Utilizator | Data | 26 octombrie 2022 23:14:54 | |
---|---|---|---|
Problema | Piezisa | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:209:3: error: 'multiset' was not declared in this scope
209 | multiset <int> minTotal;
| ^~~~~~~~
main.cpp:7:1: note: 'std::multiset' is defined in header '<set>'; did you forget to '#include <set>'?
6 | #include <map>
+++ |+#include <set>
7 |
main.cpp:209:13: error: expected primary-expression before 'int'
209 | multiset <int> minTotal;
| ^~~
main.cpp:216:4: error: 'minTotal' was not declared in this scope
216 | minTotal.insert(rightPos[i].top() - leftPos[i].top() + 1);
| ^~~~~~~~
main.cpp:218:42: error: 'minTotal' was not declared in this scope
218 | queries[firstFromBucket[b]].answer = *(minTotal.begin());
| ^~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !