/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:17:25: 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:17:25: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'lint* {aka long long int*}' [-Wformat=]
/in/foo.cc:19:19: 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:29:31: 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 3ms 256.0 KiB
#2 Accepted 4ms 356.0 KiB
#3 Accepted 4ms 348.0 KiB
#4 Accepted 7ms 1020.0 KiB
#5 Accepted 13ms 2.363 MiB
#6 Accepted 41ms 2.355 MiB
#7 Accepted 58ms 896.0 KiB
#8 Accepted 74ms 2.75 MiB
#9 Accepted 170ms 2.746 MiB
#10 Accepted 247ms 4.25 MiB

信息

递交者
类型
递交
题目
P1090 连续数之和
语言
C++
递交时间
2018-01-05 13:42:59
评测时间
2018-01-05 13:42:59
评测机
分数
100
总耗时
626ms
峰值内存
4.25 MiB