记录详情

Wrong Answer

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)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 384.0 KiB
#2 Wrong Answer Read 2, expect 13. 42ms 256.0 KiB
#3 Wrong Answer Read 1, expect 36. 60ms 384.0 KiB
#4 Wrong Answer Read 0, expect 2. 1ms 256.0 KiB
#5 Wrong Answer Read 6, expect 12. 226ms 256.0 KiB

信息

递交者
类型
递交
题目
P1031 选数
语言
C
递交时间
2022-08-29 16:16:18
评测时间
2022-08-29 16:16:18
评测机
分数
10
总耗时
333ms
峰值内存
384.0 KiB