0_0_29577447_16769.cpp: In function 'int main()':
0_0_29577447_16769.cpp:5:13: error: expected primary-expression before '=' token
#define maxn=1000000000;
^
0_0_29577447_16769.cpp:47:18: note: in expansion of macro 'maxn'
memset(a,maxn,sizeof(a));
^
0_0_29577447_16769.cpp:47:22: error: expected primary-expression before ',' token
memset(a,maxn,sizeof(a));
^
0_0_29577447_16769.cpp:5:13: error: expected primary-expression before '=' token
#define maxn=1000000000;
^
0_0_29577447_16769.cpp:67:27: note: in expansion of macro 'maxn'
else if(d[s[s4]]==maxn) cout<<"-1"<<endl;
^
0_0_29577447_16769.cpp:5:24: error: expected ')' before ';' token
#define maxn=1000000000;
^
0_0_29577447_16769.cpp:67:27: note: in expansion of macro 'maxn'
else if(d[s[s4]]==maxn) cout<<"-1"<<endl;
^
0_0_29577447_16769.cpp:67:31: error: expected primary-expression before ')' token
else if(d[s[s4]]==maxn) cout<<"-1"<<endl;
^
0_0_29577447_16769.cpp:68:9: error: 'else' without a previous 'if'
else cout<<d[2]<<endl;
^
|