0_0_33798642_196.cpp:95:2: error: stray '#' in program
}#define _CRT_SECURE_NO_WARNINGS
^
0_0_33798642_196.cpp:95:3: error: 'define' does not name a type
}#define _CRT_SECURE_NO_WARNINGS
^
0_0_33798642_196.cpp:98:11: error: redefinition of 'const int mod'
const int mod = (int)1e9 + 7;
^
0_0_33798642_196.cpp:4:11: note: 'const int mod' previously defined here
const int mod = (int)1e9 + 7;
^
0_0_33798642_196.cpp:106:14: error: redefinition of 'const long long int tools::INF'
const ll INF = 0x3f3f3f3f3f3f3f3f;
^
0_0_33798642_196.cpp:12:14: note: 'const long long int tools::INF' previously defined here
const ll INF = 0x3f3f3f3f3f3f3f3f;
^
0_0_33798642_196.cpp:107:15: error: redefinition of 'const int tools::inf'
const int inf = 0x3f3f3f3f;
^
0_0_33798642_196.cpp:13:15: note: 'const int tools::inf' previously defined here
const int inf = 0x3f3f3f3f;
^
0_0_33798642_196.cpp:109:35: error: redefinition of 'template<class T> T tools::tmax(T, T, T)'
template<typename T> inline T tmax(T x, T y, T z) { return max(x, max(y, z)); }
^
0_0_33798642_196.cpp:15:35: note: 'template<class T> T tools::tmax(T, T, T)' previously declared here
template<typename T> inline T tmax(T x, T y, T z) { return max(x, max(y, z)); }
^
0_0_33798642_196.cpp:110:35: error: redefinition of 'template<class T> T tools::tmin(T, T, T)'
template<typename T> inline T tmin(T x, T y, T z) { return min(x, min(y, z)); }
^
0_0_33798642_196.cpp:16:35: note: 'template<class T> T tools::tmin(T, T, T)' previously declared here
template<typename T> inline T tmin(T x, T y, T z) { return min(x, min(y, z)); }
^
0_0_33798642_196.cpp:111:38: error: redefinition of 'template<class T> void tools::debug(T, T)'
template<typename T> inline void debug(T x, T y) { cout << x << " " << y << endl; }
^
0_0_33798642_196.cpp:17:38: note: 'template<class T> void tools::debug(T, T)' previously declared here
template<typename T> inline void debug(T x, T y) { cout << x << " " << y << endl; }
^
0_0_33798642_196.cpp:112:38: error: redefinition of 'template<class T> void tools::debug(T)'
template<typename T> inline void debug(T x) { cout << x << endl; }
^
0_0_33798642_196.cpp:18:38: note: 'template<class T> void tools::debug(T)' previously declared here
template<typename T> inline void debug(T x) { cout << x << endl; }
^
0_0_33798642_196.cpp:113:38: error: redefinition of 'template<class T> void tools::write(T)'
template<typename T> inline void write(T x) {
^
0_0_33798642_196.cpp:19:38: note: 'template<class T> void tools::write(T)' previously declared here
template<typename T> inline void write(T x) {
^
0_0_33798642_196.cpp:117:38: error: redefinition of 'template<class T> void tools::print(T)'
template<typename T> inline void print(T x) { write(x); putchar('\n'); }
^
0_0_33798642_196.cpp:23:38: note: 'template<class T> void tools::print(T)' previously declared here
template<typename T> inline void print(T x) { write(x); putchar('\n'); }
^
0_0_33798642_196.cpp:118:38: error: redefinition of 'template<class T> void tools::read(T&)'
template<typename T> inline void read(T& ans) {
^
0_0_33798642_196.cpp:24:38: note: 'template<class T> void tools::read(T&)' previously declared here
template<typename T> inline void read(T& ans) {
^
0_0_33798642_196.cpp: In function 'long long int tools::read()':
0_0_33798642_196.cpp:123:15: error: redefinition of 'long long int tools::read()'
inline ll read() {
^
0_0_33798642_196.cpp:29:15: note: 'long long int tools::read()' previously defined here
inline ll read() {
^
0_0_33798642_196.cpp: At global scope:
0_0_33798642_196.cpp:129:5: error: redefinition of 'int t'
int t, n, cnt = 0, lun = 0;
^
0_0_33798642_196.cpp:35:5: note: 'int t' previously declared here
int t, n, cnt = 0, lun = 0;
^
0_0_33798642_196.cpp:129:8: error: redefinition of 'int n'
int t, n, cnt = 0, lun = 0;
^
0_0_33798642_196.cpp:35:8: note: 'int n' previously declared here
int t, n, cnt = 0, lun = 0;
^
0_0_33798642_196.cpp:129:11: error: redefinition of 'int cnt'
int t, n, cnt = 0, lun = 0;
^
0_0_33798642_196.cpp:35:11: note: 'int cnt' previously defined here
int t, n, cnt = 0, lun = 0;
^
0_0_33798642_196.cpp:129:20: error: redefinition of 'int lun'
int t, n, cnt = 0, lun = 0;
^
0_0_33798642_196.cpp:35:20: note: 'int lun' previously defined here
int t, n, cnt = 0, lun = 0;
^
0_0_33798642_196.cpp:130:8: error: redefinition of 'struct node'
struct node
^
0_0_33798642_196.cpp:36:8: error: previous definition of 'struct node'
struct node
^
0_0_33798642_196.cpp:136:12: error: invalid type in declaration before ';' token
}date[maxn];
^
0_0_33798642_196.cpp:136:12: error: conflicting declaration 'int date [107]'
0_0_33798642_196.cpp:42:2: note: previous declaration as 'node date [107]'
}date[maxn];
^
0_0_33798642_196.cpp:137:27: error: redefinition of 'std::pair<std::basic_string<char>, int> ans [107]'
pair<string, int> ans[maxn];
^
0_0_33798642_196.cpp:43:19: note: 'std::pair<std::basic_string<char>, int> ans [107]' previously declared here
pair<string, int> ans[maxn];
^
0_0_33798642_196.cpp: In function 'void build(node*)':
0_0_33798642_196.cpp:138:6: error: redefinition of 'void build(node*)'
void build(node* root)
^
0_0_33798642_196.cpp:44:6: note: 'void build(node*)' previously defined here
void build(node* root)
^
0_0_33798642_196.cpp: In function 'void get(node*)':
0_0_33798642_196.cpp:156:6: error: redefinition of 'void get(node*)'
void get(node* root)
^
0_0_33798642_196.cpp:62:6: note: 'void get(node*)' previously defined here
void get(node* root)
^
0_0_33798642_196.cpp: In function 'bool cmp(std::pair<std::basic_string<char>, int>, std::pair<std::basic_string<char>, int>)':
0_0_33798642_196.cpp:162:6: error: redefinition of 'bool cmp(std::pair<std::basic_string<char>, int>, std::pair<std::basic_string<char>, int>)'
bool cmp(pair<string, int> x, pair<string, int> y)
^
0_0_33798642_196.cpp:68:6: note: 'bool cmp(std::pair<std::basic_string<char>, int>, std::pair<std::basic_string<char>, int>)' previously defined here
bool cmp(pair<string, int> x, pair<string, int> y)
^
0_0_33798642_196.cpp: In function 'int main()':
0_0_33798642_196.cpp:168:5: error: redefinition of 'int main()'
int main()
^
0_0_33798642_196.cpp:74:5: note: 'int main()' previously defined here
int main()
^
|