Wrong Answer
foo.cc: In function 'void init()': foo.cc:72:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 72 | for (int i=1;i<=n;i++) scanf("%d",&a[i].val), a[i].pos=i; | ~~~~~^~~~~~~~~~~~~~~~ foo.cc:73:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 73 | for (int i=1;i<=n;i++) scanf("%d",&b[i]); | ~~~~~^~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1842 火柴排队
- 语言
- C++
- 递交时间
- 2022-03-04 04:28:22
- 评测时间
- 2022-03-04 04:28:22
- 评测机
- 分数
- 10
- 总耗时
- 198ms
- 峰值内存
- 4.879 MiB