/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:13:20: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll* {aka long long int*}' [-Wformat=]
  scanf("%d%d",&N,&K);
                    ^
/in/foo.cc:13:20: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'll* {aka long long int*}' [-Wformat=]
/in/foo.cc:14:22: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll* {aka long long int*}' [-Wformat=]
  scanf("%d%d",&A1,&A2);
                      ^
/in/foo.cc:14:22: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'll* {aka long long int*}' [-Wformat=]
/in/foo.cc:15:22: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll* {aka long long int*}' [-Wformat=]
  scanf("%d%d",&B1,&B2);
                      ^
/in/foo.cc:15:22: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'll* {aka long long int*}' [-Wformat=]
/in/foo.cc:40:21: warning: format '%d' expects argument of type 'int', but argument 2 has type 'll {aka long long int}' [-Wformat=]
   printf("%d\n",a[i]);
                     ^
# 状态 耗时 内存占用
#1 Accepted 2ms 884.0 KiB
#2 Accepted 2ms 528.0 KiB
#3 Accepted 2ms 328.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 2ms 384.0 KiB
#6 Accepted 2ms 392.0 KiB
#7 Accepted 2ms 384.0 KiB
#8 Accepted 2ms 380.0 KiB
#9 Accepted 5ms 416.0 KiB
#10 Accepted 1ms 420.0 KiB
#11 Accepted 2ms 424.0 KiB
#12 Accepted 2ms 376.0 KiB
#13 Accepted 2ms 420.0 KiB

信息

递交者
类型
递交
题目
P2900 晨练方案
语言
C++
递交时间
2024-06-28 08:49:28
评测时间
2024-06-28 08:49:28
评测机
分数
100
总耗时
34ms
峰值内存
884.0 KiB