记录详情

Wrong Answer

foo.cc: In function ‘int main()’:
foo.cc:7:13: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
    7 |     scanf("%d", &n);
      |            ~^   ~~
      |             |   |
      |             |   long long int*
      |             int*
      |            %lld
foo.cc:15:14: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
   15 |     printf("%d",a+b);
      |             ~^  ~~~
      |              |   |
      |              int long long int
      |             %lld
# 状态 耗时 内存占用
#1 Wrong Answer Read 1739200125, expect 2975216251. 3ms 320.0 KiB
#2 Wrong Answer Read 1761242633, expect 12356871. 2ms 540.0 KiB
#3 Wrong Answer Read 1648886993, expect 231. 3ms 324.0 KiB
#4 Wrong Answer Read -1081394653, expect 564686881. 2ms 324.0 KiB

信息

递交者
类型
递交
题目
P1080 1-1 数字循环左移
语言
C++
递交时间
2024-08-19 22:55:17
评测时间
2024-08-19 22:55:17
评测机
分数
0
总耗时
12ms
峰值内存
540.0 KiB