与题目内容无关
有无大佬明白为什么这里begin()不报错rbegin()报错
#include <iostream>
#include <cstdio>
#include <cstring>
#include <algorithm>
#include <cmath>
#include <set>
using namespace std;
const int N = 2e5 + 5;
struct node{
int a, t, id;
}song[N];
bool operator < (node x, node y) {
return (x.t == y.t) ? (x.a > y.a) : (x.t < y.t);
}
multiset <node> s1, s2;
typedef multiset<node>::iterator it;
int main() {
it x = s1.begin();
it y = s1.rbegin();
return 0;
}