0_0_22079714_20803.cpp:4:14: error: expected primary-expression before '=' token
#define maxn = 50000;
^
0_0_22079714_20803.cpp:5:12: note: in expansion of macro 'maxn'
bool judge[maxn];
^
0_0_22079714_20803.cpp:4:21: error: expected ']' before ';' token
#define maxn = 50000;
^
0_0_22079714_20803.cpp:5:12: note: in expansion of macro 'maxn'
bool judge[maxn];
^
0_0_22079714_20803.cpp:5:16: error: expected unqualified-id before ']' token
bool judge[maxn];
^
0_0_22079714_20803.cpp: In function 'void solve()':
0_0_22079714_20803.cpp:8:9: error: 'judge' was not declared in this scope
memset(judge, true, sizeof(judge));
^
0_0_22079714_20803.cpp:4:14: error: expected primary-expression before '=' token
#define maxn = 50000;
^
0_0_22079714_20803.cpp:10:24: note: in expansion of macro 'maxn'
for(int i = 2; i < maxn; i++){
^
0_0_22079714_20803.cpp:10:28: error: expected primary-expression before ';' token
for(int i = 2; i < maxn; i++){
^
0_0_22079714_20803.cpp:10:28: error: expected ')' before ';' token
0_0_22079714_20803.cpp:10:30: error: 'i' was not declared in this scope
for(int i = 2; i < maxn; i++){
^
|