/ Vijos /

记录详情

Wrong Answer

foo.cc: In function ‘int main()’:
foo.cc:29:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘lint*’ {aka ‘long long int*’} [-Wformat=]
   29 |             scanf("%I64d%I64d",&n,&k); ans = 0;
      |                    ~~~~^       ~~
      |                        |       |
      |                        int*    lint* {aka long long int*}
      |                    %I64lld
foo.cc:29:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘lint*’ {aka ‘long long int*’} [-Wformat=]
   29 |             scanf("%I64d%I64d",&n,&k); ans = 0;
      |                         ~~~~^     ~~
      |                             |     |
      |                             int*  lint* {aka long long int*}
      |                         %I64lld
foo.cc:31:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘lint*’ {aka ‘long long int*’} [-Wformat=]
   31 |                     scanf("%I64d",&num);
      |                            ~~~~^  ~~~~
      |                                |  |
      |                                |  lint* {aka long long int*}
      |                                int*
      |                            %I64lld
foo.cc:41:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘lint’ {aka ‘long long int’} [-Wformat=]
   41 |             printf("%I64d\n",ans % 1234567);
      |                     ~~~~^    ~~~~~~~~~~~~~
      |                         |        |
      |                         int      lint {aka long long int}
      |                     %I64lld
# 状态 耗时 内存占用
#1 Wrong Answer 1c1 < 4ms 1.023 MiB
#2 Wrong Answer 1c1 < 2ms 536.0 KiB
#3 Wrong Answer 1c1 < 3ms 324.0 KiB
#4 Wrong Answer 1c1 < 2ms 532.0 KiB
#5 Wrong Answer 1c1 < 11ms 768.0 KiB
#6 Wrong Answer 1c1 < 33ms 908.0 KiB
#7 Wrong Answer 1c1 < 51ms 1.148 MiB
#8 Wrong Answer 1c1 < 66ms 1.488 MiB
#9 Wrong Answer 1c1 < 142ms 2.777 MiB
#10 Wrong Answer 1c1 < 202ms 4.242 MiB

信息

递交者
类型
递交
题目
P1090 连续数之和
语言
C++
递交时间
2024-09-22 09:16:00
评测时间
2024-09-22 09:16:00
评测机
分数
0
总耗时
521ms
峰值内存
4.242 MiB