0_0_25595612_31330.cpp:3:20: error: expected ']' before ';' token
#define maxn 5e6+10;
^
0_0_25595612_31330.cpp:4:9: note: in expansion of macro 'maxn'
char ss[maxn];
^
0_0_25595612_31330.cpp:4:13: error: expected unqualified-id before ']' token
char ss[maxn];
^
0_0_25595612_31330.cpp:3:20: error: expected ']' before ';' token
#define maxn 5e6+10;
^
0_0_25595612_31330.cpp:8:5: note: in expansion of macro 'maxn'
} a[maxn];
^
0_0_25595612_31330.cpp:8:9: error: expected unqualified-id before ']' token
} a[maxn];
^
0_0_25595612_31330.cpp: In function 'int main()':
0_0_25595612_31330.cpp:32:24: error: 'ss' was not declared in this scope
scanf("%s",ss);
^
0_0_25595612_31330.cpp:65:13: error: 'a' was not declared in this scope
a[i].left=left;
^
0_0_25595612_31330.cpp:69:14: error: 'a' was not declared in this scope
sort(a+1,a+1+n,cmp);
^
|