제출 #22087

#제출 시각아이디문제언어결과실행 시간메모리
22087쀼쀼~ (#42)등록 (KRIII5P_0)C++98
컴파일 에러
0 ms0 KiB
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <memory.h> #include <math.h> #include <assert.h> #include <queue> #include <map> #include <set> #include <string> #include <algorithm> #include <iostream> #include <functional> #include <unordered_map> #include <unordered_set> #include <list> #include <bitset> using namespace std; typedef pair<int, int> Pi; typedef long long ll; #define pii Pi #define pll PL #define Fi first #define Se second #define pb(x) push_back(x) #define sz(x) ((int)(x).size()) #define rep(i, n) for(int i=0;i<n;i++) #define all(x) (x).begin(), (x).end() typedef tuple<int, int, int> t3; typedef pair<ll, ll> PL; typedef long double ldouble; void solve(){ printf("dkd12b2gkc\n"); printf("cki86201 gs14004 dotorya\n"); printf("953\n"); } int main(){ int Tc = 1; // scanf("%d\n", &Tc); for(int tc=1;tc<=Tc;tc++){ solve(); } return 0; }

컴파일 시 표준 에러 (stderr) 메시지

In file included from /usr/include/c++/5/unordered_map:35:0,
                 from r.cpp:14:
/usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
 #error This file requires compiler and library support \
  ^
r.cpp:30:9: error: 'tuple' does not name a type
 typedef tuple<int, int, int> t3;
         ^