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)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1006 金库的终结
- 语言
- C++
- 递交时间
- 2023-05-12 20:06:35
- 评测时间
- 2023-05-21 12:53:01
- 评测机
- 分数
- 100
- 总耗时
- 978ms
- 峰值内存
- 17.492 MiB