记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:5:13: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
    5 |     scanf("%d",&x);
      |            ~^  ~~
      |             |  |
      |             |  long long int*
      |             int*
      |            %lld
foo.cc:16:11: warning: 'temp' may be used uninitialized [-Wmaybe-uninitialized]
   16 |     printf("%lld",temp);
      |     ~~~~~~^~~~~~~~~~~~~
foo.cc:4:17: note: 'temp' was declared here
    4 |     long long x,temp;
      |                 ^~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 140720944756838, expect 110. 4ms 412.0 KiB
#2 Wrong Answer Read 140729098018198, expect 100110. 3ms 412.0 KiB
#3 Wrong Answer Read 140725088819994, expect 1101010. 4ms 284.0 KiB
#4 Wrong Answer Read 140728417100203, expect 1010111001000101.... 3ms 412.0 KiB
#5 Wrong Answer Read 140723473875526, expect 1101100101010101.... 4ms 412.0 KiB

信息

递交者
类型
递交
题目
P1080 xf1-3进制转换1
比赛
2023 程序设计与竞赛(作业1:见面赛)
语言
C++
递交时间
2023-09-20 20:18:48
评测时间
2023-09-20 20:18:48
评测机
分数
0
总耗时
20ms
峰值内存
412.0 KiB