/ 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
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 0, expect 0. 4ms 412.0 KiB
#2 Wrong Answer Read 5050, expect 5050. 4ms 412.0 KiB
#3 Wrong Answer Read 599, expect 599. 4ms 412.0 KiB
#4 Wrong Answer Read 25, expect 25. 6ms 1.07 MiB
#5 Wrong Answer Read 943886, expect 943886. 12ms 460.0 KiB
#6 Wrong Answer Read 703626, expect 703626. 48ms 1.004 MiB
#7 Wrong Answer Read 1198774, expect 1198774. 78ms 1.27 MiB
#8 Wrong Answer Read 111245, expect 111245. 96ms 1.895 MiB
#9 Wrong Answer Read 850355, expect 850355. 242ms 4.145 MiB
#10 Wrong Answer Read 1065365, expect 1065365. 306ms 6.52 MiB

信息

递交者
类型
递交
题目
P1090 连续数之和
语言
C++
递交时间
2023-06-04 11:00:59
评测时间
2023-06-04 11:01:01
评测机
分数
0
总耗时
805ms
峰值内存
6.52 MiB