记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:7:18: warning: format '%ld' expects argument of type 'long int *', but argument 2 has type 'int *' [-Wformat=]
    7 |         scanf("%ld", &n);
      |                ~~^   ~~
      |                  |   |
      |                  |   int *
      |                  long int *
      |                %d
foo.c:13:20: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=]
   13 |         printf( "%ld", x);
      |                  ~~^   ~
      |                    |   |
      |                    |   int
      |                    long int
      |                  %d
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 256.0 KiB
#2 Wrong Answer Read 4294967295, expect 1048575. 1ms 256.0 KiB
#3 Accepted 2ms 256.0 KiB
#4 Wrong Answer Read 1909, expect 1109. 1ms 256.0 KiB
#5 Wrong Answer Read 4294967295, expect 4194304. 2ms 256.0 KiB

信息

递交者
类型
递交
题目
P1081 xf1-4进制转换2
比赛
2022年迎新赛(第二场)
语言
C
递交时间
2022-08-27 18:36:47
评测时间
2022-08-27 18:36:47
评测机
分数
40
总耗时
10ms
峰值内存
256.0 KiB