/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:28:37: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'lint* {aka long long int*}' [-Wformat=]
             scanf("%I64d%I64d",&n,&k); ans = 0;
                                     ^
/in/foo.cc:28:37: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'lint* {aka long long int*}' [-Wformat=]
/in/foo.cc:30:39: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'lint* {aka long long int*}' [-Wformat=]
                     scanf("%I64d",&num);
                                       ^
/in/foo.cc:40:43: warning: format '%d' expects argument of type 'int', but argument 2 has type 'lint {aka long long int}' [-Wformat=]
             printf("%I64d\n",ans % 1234567);
                                           ^
# 状态 耗时 内存占用
#1 Accepted 4ms 2.363 MiB
#2 Accepted 3ms 2.34 MiB
#3 Accepted 5ms 2.371 MiB
#4 Accepted 4ms 1.082 MiB
#5 Accepted 9ms 2.336 MiB
#6 Accepted 32ms 640.0 KiB
#7 Accepted 25ms 2.363 MiB
#8 Accepted 68ms 2.625 MiB
#9 Accepted 109ms 3.367 MiB
#10 Accepted 176ms 4.875 MiB

信息

递交者
类型
递交
题目
P1090 连续数之和
语言
C++
递交时间
2018-06-04 18:09:45
评测时间
2018-06-04 18:09:45
评测机
分数
100
总耗时
440ms
峰值内存
4.875 MiB