/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:29: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:29:37: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'lint* {aka long long int*}' [-Wformat=]
/in/foo.cc:31: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:41: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 336.0 KiB
#2 Accepted 1ms 340.0 KiB
#3 Accepted 1ms 376.0 KiB
#4 Accepted 2ms 1.117 MiB
#5 Accepted 4ms 380.0 KiB
#6 Accepted 14ms 784.0 KiB
#7 Accepted 22ms 984.0 KiB
#8 Accepted 32ms 1.512 MiB
#9 Accepted 81ms 2.746 MiB
#10 Accepted 133ms 4.312 MiB

信息

递交者
类型
递交
题目
P1090 连续数之和
语言
C++
递交时间
2024-09-16 11:01:17
评测时间
2024-09-16 11:01:17
评测机
分数
100
总耗时
295ms
峰值内存
4.312 MiB