rt
#include<iostream>
#include<queue>
using namespace std;
queue<pair<int,int> > q;
int main()
{
q.push({1,1});
}
第九行中的这种语法在本地编译可以通过,提交到洛谷上也不会报错,但本地编译会报以下warning
[Warning] extended initializer lists only available with -std=c++11 or -std=gnu++11
那么这种语法能否在 CSP/NOIP 中安全使用