0_0_6697279_1654\Main.java:1: illegal character: \35
#include <cstdio>
^
0_0_6697279_1654\Main.java:2: illegal character: \35
#include <cstring>
^
0_0_6697279_1654\Main.java:3: illegal character: \35
#include <iostream>
^
0_0_6697279_1654\Main.java:4: illegal character: \35
#include <algorithm>
^
0_0_6697279_1654\Main.java:5: illegal character: \35
#include <vector>
^
0_0_6697279_1654\Main.java:6: illegal character: \35
#include <set>
^
0_0_6697279_1654\Main.java:7: illegal character: \35
#include <map>
^
0_0_6697279_1654\Main.java:8: illegal character: \35
#include <cmath>
^
0_0_6697279_1654\Main.java:9: illegal character: \35
#include <sstream>
^
0_0_6697279_1654\Main.java:10: illegal character: \35
#include <iomanip>
^
0_0_6697279_1654\Main.java:11: illegal character: \35
#include <queue>
^
0_0_6697279_1654\Main.java:12: illegal character: \35
#include <ctime>
^
0_0_6697279_1654\Main.java:14: class, interface, or enum expected
template <class T> void checkmin(T &t,T x){if (x < t) t = x;}
^
0_0_6697279_1654\Main.java:14: '{' expected
template <class T> void checkmin(T &t,T x){if (x < t) t = x;}
^
0_0_6697279_1654\Main.java:14: <identifier> expected
template <class T> void checkmin(T &t,T x){if (x < t) t = x;}
^
0_0_6697279_1654\Main.java:14: ';' expected
template <class T> void checkmin(T &t,T x){if (x < t) t = x;}
^
0_0_6697279_1654\Main.java:14: illegal start of type
template <class T> void checkmin(T &t,T x){if (x < t) t = x;}
^
0_0_6697279_1654\Main.java:14: ';' expected
template <class T> void checkmin(T &t,T x){if (x < t) t = x;}
^
0_0_6697279_1654\Main.java:14: <identifier> expected
template <class T> void checkmin(T &t,T x){if (x < t) t = x;}
^
0_0_6697279_1654\Main.java:15: illegal start of type
template <class T> void checkmax(T &t,T x){if (x > t) t = x;}
^
0_0_6697279_1654\Main.java:15: ';' expected
template <class T> void checkmax(T &t,T x){if (x > t) t = x;}
^
0_0_6697279_1654\Main.java:15: <identifier> expected
template <class T> void checkmax(T &t,T x){if (x > t) t = x;}
^
0_0_6697279_1654\Main.java:15: ';' expected
template <class T> void checkmax(T &t,T x){if (x > t) t = x;}
^
0_0_6697279_1654\Main.java:15: illegal start of type
template <class T> void checkmax(T &t,T x){if (x > t) t = x;}
^
0_0_6697279_1654\Main.java:15: ';' expected
template <class T> void checkmax(T &t,T x){if (x > t) t = x;}
^
0_0_6697279_1654\Main.java:15: <identifier> expected
template <class T> void checkmax(T &t,T x){if (x > t) t = x;}
^
0_0_6697279_1654\Main.java:16: illegal start of type
template <class T> void _checkmin(T &t, T x){if (t == -1) t = x; if (x < t) t = x;}
^
0_0_6697279_1654\Main.java:16: ';' expected
template <class T> void _checkmin(T &t, T x){if (t == -1) t = x; if (x < t) t = x;}
^
0_0_6697279_1654\Main.java:16: <identifier> expected
template <class T> void _checkmin(T &t, T x){if (t == -1) t = x; if (x < t) t = x;}
^
0_0_6697279_1654\Main.java:16: ';' expected
template <class T> void _checkmin(T &t, T x){if (t == -1) t = x; if (x < t) t = x;}
^
0_0_6697279_1654\Main.java:16: illegal start of type
template <class T> void _checkmin(T &t, T x){if (t == -1) t = x; if (x < t) t = x;}
^
0_0_6697279_1654\Main.java:16: ';' expected
template <class T> void _checkmin(T &t, T x){if (t == -1) t = x; if (x < t) t = x;}
^
0_0_6697279_1654\Main.java:16: <identifier> expected
template <class T> void _checkmin(T &t, T x){if (t == -1) t = x; if (x < t) t = x;}
^
0_0_6697279_1654\Main.java:17: illegal start of type
template <class T> void _checkmax(T &t, T x){if (t == -1) t = x; if (x > t) t = x;}
^
0_0_6697279_1654\Main.java:17: ';' expected
template <class T> void _checkmax(T &t, T x){if (t == -1) t = x; if (x > t) t = x;}
^
0_0_6697279_1654\Main.java:17: <identifier> expected
template <class T> void _checkmax(T &t, T x){if (t == -1) t = x; if (x > t) t = x;}
^
0_0_6697279_1654\Main.java:17: ';' expected
template <class T> void _checkmax(T &t, T x){if (t == -1) t = x; if (x > t) t = x;}
^
0_0_6697279_1654\Main.java:17: illegal start of type
template <class T> void _checkmax(T &t, T x){if (t == -1) t = x; if (x > t) t = x;}
^
0_0_6697279_1654\Main.java:17: ';' expected
template <class T> void _checkmax(T &t, T x){if (t == -1) t = x; if (x > t) t = x;}
^
0_0_6697279_1654\Main.java:17: <identifier> expected
template <class T> void _checkmax(T &t, T x){if (t == -1) t = x; if (x > t) t = x;}
^
0_0_6697279_1654\Main.java:18: ';' expected
typedef pair <int,int> PII;
^
0_0_6697279_1654\Main.java:18: <identifier> expected
typedef pair <int,int> PII;
^
0_0_6697279_1654\Main.java:18: illegal start of type
typedef pair <int,int> PII;
^
0_0_6697279_1654\Main.java:18: <identifier> expected
typedef pair <int,int> PII;
^
0_0_6697279_1654\Main.java:18: '(' expected
typedef pair <int,int> PII;
^
0_0_6697279_1654\Main.java:18: <identifier> expected
typedef pair <int,int> PII;
^
0_0_6697279_1654\Main.java:19: ';' expected
typedef pair <double,double> PDD;
^
0_0_6697279_1654\Main.java:19: <identifier> expected
typedef pair <double,double> PDD;
^
0_0_6697279_1654\Main.java:19: illegal start of type
typedef pair <double,double> PDD;
^
0_0_6697279_1654\Main.java:19: <identifier> expected
typedef pair <double,double> PDD;
^
0_0_6697279_1654\Main.java:19: '(' expected
typedef pair <double,double> PDD;
^
0_0_6697279_1654\Main.java:19: <identifier> expected
typedef pair <double,double> PDD;
^
0_0_6697279_1654\Main.java:20: <identifier> expected
typedef long long lld;
^
0_0_6697279_1654\Main.java:21: illegal character: \35
#define foreach(it,v) for (__typeof((v).begin()) it = (v).begin();it != (v).end();it++)
^
0_0_6697279_1654\Main.java:21: ';' expected
#define foreach(it,v) for (__typeof((v).begin()) it = (v).begin();it != (v).end();it++)
^
0_0_6697279_1654\Main.java:21: invalid method declaration; return type required
#define foreach(it,v) for (__typeof((v).begin()) it = (v).begin();it != (v).end();it++)
^
0_0_6697279_1654\Main.java:21: <identifier> expected
#define foreach(it,v) for (__typeof((v).begin()) it = (v).begin();it != (v).end();it++)
^
0_0_6697279_1654\Main.java:21: <identifier> expected
#define foreach(it,v) for (__typeof((v).begin()) it = (v).begin();it != (v).end();it++)
^
0_0_6697279_1654\Main.java:21: ';' expected
#define foreach(it,v) for (__typeof((v).begin()) it = (v).begin();it != (v).end();it++)
^
0_0_6697279_1654\Main.java:21: <identifier> expected
#define foreach(it,v) for (__typeof((v).begin()) it = (v).begin();it != (v).end();it++)
^
0_0_6697279_1654\Main.java:21: illegal start of type
#define foreach(it,v) for (__typeof((v).begin()) it = (v).begin();it != (v).end();it++)
^
0_0_6697279_1654\Main.java:21: ';' expected
#define foreach(it,v) for (__typeof((v).begin()) it = (v).begin();it != (v).end();it++)
^
0_0_6697279_1654\Main.java:21: invalid method declaration; return type required
#define foreach(it,v) for (__typeof((v).begin()) it = (v).begin();it != (v).end();it++)
^
0_0_6697279_1654\Main.java:21: <identifier> expected
#define foreach(it,v) for (__typeof((v).begin()) it = (v).begin();it != (v).end();it++)
^
0_0_6697279_1654\Main.java:21: illegal start of type
#define foreach(it,v) for (__typeof((v).begin()) it = (v).begin();it != (v).end();it++)
^
0_0_6697279_1654\Main.java:22: illegal character: \35
#define DEBUG(a) cout << #a" = " << (a) << endl;
^
0_0_6697279_1654\Main.java:22: ';' expected
#define DEBUG(a) cout << #a" = " << (a) << endl;
^
0_0_6697279_1654\Main.java:22: invalid method declaration; return type required
#define DEBUG(a) cout << #a" = " << (a) << endl;
^
0_0_6697279_1654\Main.java:22: <identifier> expected
#define DEBUG(a) cout << #a" = " << (a) << endl;
^
0_0_6697279_1654\Main.java:22: ';' expected
#define DEBUG(a) cout << #a" = " << (a) << endl;
^
0_0_6697279_1654\Main.java:22: illegal character: \35
#define DEBUG(a) cout <
|