记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:8:17: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long long int *' [-Wformat=]
    8 |         scanf("%d",&x);
      |                ~^  ~~
      |                 |  |
      |                 |  long long int *
      |                 int *
      |                %lld
foo.c:69:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
   69 |         printf("%d",ans);
      |                 ~^  ~~~
      |                  |  |
      |                  |  long long int
      |                  int
      |                 %lld
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 931654, expect 750843. 1ms 200.0 KiB
#2 Wrong Answer Read 961999321, expect 874296522. 1ms 284.0 KiB
#3 Wrong Answer Read 76197533, expect 77508423. 1ms 204.0 KiB
#4 Wrong Answer Read 971983321, expect 863098632. 1ms 284.0 KiB
#5 Wrong Answer Read -1958846069, expect 0. 1ms 284.0 KiB

信息

递交者
类型
递交
题目
5-7 玩整数
比赛
2023 程序设计与竞赛(作业3:中秋和国庆)
语言
C
递交时间
2023-10-01 19:37:55
评测时间
2023-10-01 19:37:55
评测机
分数
0
总耗时
8ms
峰值内存
284.0 KiB