/ ZYCode /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:14:38: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
   14 |         for(int i=1;i<=n;i++)scanf("%d%d",&a[i].p,&a[i].v);
      |                                     ~^    ~~~~~~~
      |                                      |    |
      |                                      int* long long int*
      |                                     %lld
foo.cc:14:40: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
   14 |         for(int i=1;i<=n;i++)scanf("%d%d",&a[i].p,&a[i].v);
      |                                       ~^          ~~~~~~~
      |                                        |          |
      |                                        int*       long long int*
      |                                       %lld
Found 10 testcases.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 284.0 KiB
#2 Accepted 3ms 284.0 KiB
#3 Accepted 2ms 328.0 KiB
#4 Accepted 98ms 6.199 MiB
#5 Accepted 303ms 22.781 MiB
#6 Accepted 90ms 6.688 MiB
#7 Accepted 227ms 18.77 MiB
#8 Accepted 58ms 3.855 MiB
#9 Accepted 143ms 8.977 MiB
#10 Accepted 120ms 7.492 MiB

信息

递交者
类型
递交
题目
P1006 金库的终结
语言
C++
递交时间
2023-05-17 19:01:33
评测时间
2023-05-17 19:01:33
评测机
分数
100
总耗时
1051ms
峰值内存
22.781 MiB