记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:8:15: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
  scanf("%d",&x);
             ~~^
foo.cc:16:26: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
  if(s==1) printf("%d\n",x);
                          ^
foo.cc:19:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
   printf("%d\n",x);
                  ^
foo.cc:8:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&x);
  ~~~~~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 1530496207, expect 231. 0ms 256.0 KiB
#2 Wrong Answer Read 1642851847, expect 12356871. 0ms 288.0 KiB
#3 Wrong Answer Read -1199785439, expect 564686881. 0ms 292.0 KiB
#4 Wrong Answer Read 1620809339, expect 2975216251. 0ms 256.0 KiB

信息

递交者
类型
递交
题目
1-1 数字循环左移
比赛
2021(四) 作业第一场:秀肌肉
语言
C++
递交时间
2021-09-30 16:27:59
评测时间
2021-09-30 16:27:59
评测机
分数
0
总耗时
3ms
峰值内存
292.0 KiB