/ ZYCode /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:28:38: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
   28 |         for(int i=1;i<=n;i++)scanf("%d%d",&a[i].p,&a[i].v);
      |                                     ~^    ~~~~~~~
      |                                      |    |
      |                                      int* long long int*
      |                                     %lld
foo.cc:28:40: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
   28 |         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 1ms 284.0 KiB
#2 Accepted 2ms 284.0 KiB
#3 Accepted 2ms 284.0 KiB
#4 Accepted 92ms 4.844 MiB
#5 Accepted 300ms 17.492 MiB
#6 Accepted 84ms 5.527 MiB
#7 Accepted 241ms 15.145 MiB
#8 Accepted 55ms 3.02 MiB
#9 Accepted 137ms 7.0 MiB
#10 Accepted 60ms 5.801 MiB

信息

递交者
类型
递交
题目
P1006 金库的终结
语言
C++
递交时间
2023-05-12 20:06:35
评测时间
2023-05-21 12:53:01
评测机
分数
100
总耗时
978ms
峰值内存
17.492 MiB