0_0_38318393_10720.cpp:1:1: error: expected unqualified-id before '>' token
>
^
0_0_38318393_10720.cpp:16:9: error: 'string' does not name a type
typedef string str;
^
0_0_38318393_10720.cpp:17:34: error: 'vector' does not name a type
template<typename T> using vec = vector<T>;
^
0_0_38318393_10720.cpp:18:33: error: 'priority_queue' does not name a type
template<typename T> using pq = priority_queue<T, vector<T>, std::greater<T>>;
^
0_0_38318393_10720.cpp:19:35: error: 'priority_queue' does not name a type
template<typename T> using mxpq = priority_queue<T>;
^
0_0_38318393_10720.cpp:20:9: error: 'pair' does not name a type
typedef pair<int,int> pii;
^
0_0_38318393_10720.cpp:21:9: error: 'vec' does not name a type
typedef vec<int> vi;
^
0_0_38318393_10720.cpp:22:9: error: 'vec' does not name a type
typedef vec<pii> vii;
^
0_0_38318393_10720.cpp:23:9: error: 'vec' does not name a type
typedef vec<vi> vvi;
^
0_0_38318393_10720.cpp:24:9: error: 'pair' does not name a type
typedef pair<ll,ll> pll;
^
0_0_38318393_10720.cpp:25:9: error: 'vec' does not name a type
typedef vec<ll> vl;
^
0_0_38318393_10720.cpp:26:9: error: 'vec' does not name a type
typedef vec<pll> vll;
^
0_0_38318393_10720.cpp:27:9: error: 'vec' does not name a type
typedef vec<vl> vvl;
^
0_0_38318393_10720.cpp:31:1: error: 'istream' does not name a type
istream& operator>>(istream& s, pair<A,B>& p) { return s>>p.first>>p.second; }
^
0_0_38318393_10720.cpp: In function 'int main()':
0_0_38318393_10720.cpp:38:5: error: 'ios_base' has not been declared
ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0);
^
0_0_38318393_10720.cpp:38:39: error: 'cin' was not declared in this scope
ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0);
^
0_0_38318393_10720.cpp:38:51: error: 'cout' was not declared in this scope
ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0);
^
0_0_38318393_10720.cpp:42:9: error: 'vec' was not declared in this scope
vec<str> g(n); trav(x, g) cin >> x;
^
0_0_38318393_10720.cpp:42:13: error: 'str' was not declared in this scope
vec<str> g(n); trav(x, g) cin >> x;
^
0_0_38318393_10720.cpp:42:21: error: 'g' was not declared in this scope
vec<str> g(n); trav(x, g) cin >> x;
^
0_0_38318393_10720.cpp:7:37: error: unable to deduce 'auto&&' from 'g'
#define trav(x, a) for (auto &x : (a))
^
0_0_38318393_10720.cpp:42:24: note: in expansion of macro 'trav'
vec<str> g(n); trav(x, g) cin >> x;
^
0_0_38318393_10720.cpp:113:25: error: 'swap' was not declared in this scope
swap(dp, dp2);
^
0_0_38318393_10720.cpp:115:38: error: 'endl' was not declared in this scope
cout << dp[0][150+4*k][0] << endl;
^
|