Problem flipcards
User YEethui
Submission Time 2023-12-09 00:49:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flipcards.cpp: In function ‘long long int solve3(long long int, long long int, const std::deque<std::pair<long long int, long long int> >&)’:
flipcards.cpp:51:5: error: ‘multiset’ was not declared in this scope
51 | multiset<Card, CompareIndex> flipc;
| ^~~~~~~~
flipcards.cpp:8:1: note: ‘std::multiset’ is defined in header ‘<set>’; did you forget to ‘#include <set>’?
7 | #include <queue>
+++ |+#include <set>
8 | #define int long long
flipcards.cpp:51:18: error: expected primary-expression before ‘,’ token
51 | multiset<Card, CompareIndex> flipc;
| ^
flipcards.cpp:51:32: error: expected primary-expression before ‘>’ token
51 | multiset<Card, CompareIndex> flipc;
| ^
flipcards.cpp:51:34: error: ‘flipc’ was not declared in this scope
51 | multiset<Card, CompareIndex> flipc;