0_0_25477914_7838.c: In function 'main':
0_0_25477914_7838.c:3:4: error: expected expression before '/' token
{ //2008= 251*8
^
0_0_25477914_7838.c:6:19: error: 'n' undeclared (first use in this function)
scanf("%d%d",&n,&k1);
^
0_0_25477914_7838.c:6:19: note: each undeclared identifier is reported only once for each function it appears in
0_0_25477914_7838.c:8:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=0;i<n;i++)
^
0_0_25477914_7838.c:8:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_25477914_7838.c:12:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int j=0;j<=n;j++)
^
0_0_25477914_7838.c:16:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int k=0;k<=3*n;k++)
^
0_0_25477914_7838.c:21:9: error: expected expression before '/' token
//sum*=(1+251)*(1+2+4+8);
^
0_0_25477914_7838.c:22:9: error: expected expression before '/' token
//printf("%d* %d**\n",a,b);
^
0_0_25477914_7838.c:26:5: error: expected expression before '/' token
//printf("%d\n",sum);
^
0_0_25477914_7838.c: In function 'Pan':
0_0_25477914_7838.c:36:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=0;i<y;i++)
^
0_0_25477914_7838.c:39:8: error: expected expression before '/' token
// if(sum>z)sum=sum%z;
^
|