/ 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 1ms 364.0 KiB
#2 Accepted 1ms 376.0 KiB
#3 Accepted 1ms 376.0 KiB
#4 Accepted 2ms 1.074 MiB
#5 Accepted 4ms 464.0 KiB
#6 Accepted 14ms 748.0 KiB
#7 Accepted 22ms 1.0 MiB
#8 Accepted 29ms 1.523 MiB
#9 Accepted 80ms 2.707 MiB
#10 Accepted 132ms 4.312 MiB

信息

递交者
类型
递交
题目
P1090 连续数之和
语言
C++
递交时间
2021-07-21 11:04:32
评测时间
2021-07-21 11:04:32
评测机
分数
100
总耗时
290ms
峰值内存
4.312 MiB