0_0_15411431_26992.cpp: In function 'int main()':
0_0_15411431_26992.cpp:5:18: error: expected ']' before ';' token
#define MAX 50010;
^
0_0_15411431_26992.cpp:12:8: note: in expansion of macro 'MAX'
int s[MAX];
^
0_0_15411431_26992.cpp:12:11: error: expected primary-expression before ']' token
int s[MAX];
^
0_0_15411431_26992.cpp:5:18: error: expected ']' before ';' token
#define MAX 50010;
^
0_0_15411431_26992.cpp:14:10: note: in expansion of macro 'MAX'
int Sum[MAX];
^
0_0_15411431_26992.cpp:14:13: error: expected primary-expression before ']' token
int Sum[MAX];
^
0_0_15411431_26992.cpp:19:12: error: 't' was not declared in this scope
for(i=0;i<t;i++)
^
0_0_15411431_26992.cpp:24:16: error: 's' was not declared in this scope
scanf("%d",&s[j]);
^
0_0_15411431_26992.cpp:36:7: error: 's' was not declared in this scope
s[x]+=y;
^
0_0_15411431_26992.cpp:45:6: error: 's' was not declared in this scope
s[x]-=y;
^
0_0_15411431_26992.cpp:54:10: error: 's' was not declared in this scope
sum+=s[p];
^
|