/ 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 2ms 284.0 KiB
#3 Accepted 2ms 284.0 KiB
#4 Accepted 95ms 3.941 MiB
#5 Accepted 262ms 14.039 MiB
#6 Accepted 87ms 4.496 MiB
#7 Accepted 198ms 12.238 MiB
#8 Accepted 57ms 2.426 MiB
#9 Accepted 140ms 5.625 MiB
#10 Accepted 116ms 4.719 MiB

信息

递交者
类型
递交
题目
P1016 【ZYCode R3】金库的终结
语言
C++
递交时间
2023-05-11 23:06:38
评测时间
2023-05-11 23:07:10
评测机
分数
100
总耗时
966ms
峰值内存
14.039 MiB