foo.c: In function 'jinwei':
foo.c:44:16: warning: returning 'long long int *' from a function with return type 'long long int' makes integer from pointer without a cast [-Wint-conversion]
44 | return tiao;//返回进制数
| ^~~~
foo.c: In function 'xuanshupd':
foo.c:73:16: warning: returning 'long long int *' from a function with return type 'long long int' makes integer from pointer without a cast [-Wint-conversion]
73 | return a;
| ^
foo.c:51:23: warning: unused variable 'b' [-Wunused-variable]
51 | long long int b[k];//b:标尺;c:测量
| ^
foo.c:49:25: warning: unused variable 'j' [-Wunused-variable]
49 | long long int i,j,pd=1;
| ^
foo.c: In function 'main':
foo.c:80:17: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long long int *' [-Wformat=]
80 | scanf("%d%d",&n,&k);
| ~^ ~~
| | |
| | long long int *
| int *
| %lld
foo.c:80:19: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=]
80 | scanf("%d%d",&n,&k);
| ~^ ~~
| | |
| int * long long int *
| %lld
foo.c:85:25: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long long int *' [-Wformat=]
85 | scanf("%d",&a[i]);
| ~^ ~~~~~
| | |
| | long long int *
| int *
| %lld
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务