记录详情

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\n",&x);
      |                ~^    ~~
      |                 |    |
      |                 |    long long int *
      |                 int *
      |                %lld
foo.c:15:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
   15 |         printf("%d\n",result);
      |                 ~^    ~~~~~~
      |                  |    |
      |                  int  long long int
      |                 %lld
foo.c:5:21: warning: unused variable 'i' [-Wunused-variable]
    5 |     long long int x,i;
      |                     ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 284.0 KiB
#2 Accepted 1ms 284.0 KiB
#3 Accepted 1ms 284.0 KiB
#4 Wrong Answer Read -534461965, expect 1010111001000101.... 1ms 284.0 KiB
#5 Wrong Answer Read -671788098, expect 1101100101010101.... 1ms 284.0 KiB

信息

递交者
类型
递交
题目
P1080 xf1-3进制转换1
比赛
2023 程序设计与竞赛(作业1:见面赛)
语言
C
递交时间
2023-09-16 13:41:06
评测时间
2023-09-16 13:41:06
评测机
分数
60
总耗时
9ms
峰值内存
284.0 KiB