foo.c: In function 'Mul':
foo.c:4:19: error: invalid suffix ";i" on integer constant
4 | for(int i=0;i<n;i++)
| ^~~~
foo.c:4:29: error: expected ';' before ')' token
4 | for(int i=0;i<n;i++)
| ^
| ;
foo.c: In function 'main':
foo.c:14:17: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long long int *' [-Wformat=]
14 | scanf("%d%d",&x,&n);
| ~^ ~~
| | |
| | long long int *
| int *
| %lld
foo.c:16:19: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'long long int' [-Wformat=]
16 | printf("%ld",y);
| ~~^ ~
| | |
| | long long int
| long int
| %lld
foo.c:17:16: error: invalid suffix ";" on integer constant
17 | return 0;
| ^~~
foo.c:17:19: error: expected ';' before '}' token
17 | return 0;
| ^
| ;
18 | }
| ~
[Hydro](https://hydro.ac)提供评测服务