0_0_29218142_30950.cpp:5:21: error: expected ']' before ';' token
#define maxn 9999999;
^
0_0_29218142_30950.cpp:6:7: note: in expansion of macro 'maxn'
int a[maxn];
^
0_0_29218142_30950.cpp:6:11: error: expected unqualified-id before ']' token
int a[maxn];
^
0_0_29218142_30950.cpp: In function 'int main()':
0_0_29218142_30950.cpp:12:8: error: 'a' was not declared in this scope
memset(a,0,sizeof(a));
^
0_0_29218142_30950.cpp:5:21: error: expected ']' before ';' token
#define maxn 9999999;
^
0_0_29218142_30950.cpp:13:3: note: in expansion of macro 'maxn'
a[maxn-1]=0;
^
0_0_29218142_30950.cpp:13:9: error: expected ';' before ']' token
a[maxn-1]=0;
^
0_0_29218142_30950.cpp:19:22: error: expected ')' before ';' token
for(int j=maxn-1;j>=0;j--)
^
0_0_29218142_30950.cpp:19:23: error: 'j' was not declared in this scope
for(int j=maxn-1;j>=0;j--)
^
0_0_29218142_30950.cpp:28:9: error: expected ';' before 'i'
for(tag i=0;tag<maxn-1;tag++)
^
0_0_29218142_30950.cpp:28:23: error: expected ')' before ';' token
for(tag i=0;tag<maxn-1;tag++)
^
0_0_29218142_30950.cpp:28:29: error: expected ';' before ')' token
for(tag i=0;tag<maxn-1;tag++)
^
0_0_29218142_30950.cpp:34:21: error: expected primary-expression before ';' token
for(int i=tag;i<maxn;i++)
^
0_0_29218142_30950.cpp:34:21: error: expected ')' before ';' token
0_0_29218142_30950.cpp:34:22: error: 'i' was not declared in this scope
for(int i=tag;i<maxn;i++)
^
0_0_29218142_30950.cpp:40:1: error: 'retrun' was not declared in this scope
retrun 0;
^
|