/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:24: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:24:25: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'lint* {aka long long int*}' [-Wformat=]
/in/foo.cc:26: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:36: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 4ms 384.0 KiB
#2 Accepted 3ms 204.0 KiB
#3 Accepted 5ms 380.0 KiB
#4 Accepted 6ms 1.125 MiB
#5 Accepted 13ms 492.0 KiB
#6 Accepted 41ms 640.0 KiB
#7 Accepted 58ms 896.0 KiB
#8 Accepted 68ms 3.0 MiB
#9 Accepted 160ms 2.625 MiB
#10 Accepted 213ms 4.23 MiB

信息

递交者
类型
递交
题目
P1090 连续数之和
语言
C++
递交时间
2017-12-01 20:26:57
评测时间
2017-12-01 20:26:57
评测机
分数
100
总耗时
575ms
峰值内存
4.23 MiB