/ 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 2ms 356.0 KiB
#2 Accepted 1ms 360.0 KiB
#3 Accepted 1ms 376.0 KiB
#4 Accepted 2ms 1.074 MiB
#5 Accepted 4ms 460.0 KiB
#6 Accepted 14ms 736.0 KiB
#7 Accepted 22ms 952.0 KiB
#8 Accepted 30ms 1.516 MiB
#9 Accepted 88ms 2.742 MiB
#10 Accepted 150ms 4.277 MiB

信息

递交者
类型
递交
题目
P1090 连续数之和
语言
C++
递交时间
2023-06-22 18:48:27
评测时间
2023-06-22 18:48:27
评测机
分数
100
总耗时
320ms
峰值内存
4.277 MiB