Runtime Error
/in/foo.cc: In function 'int main()':
/in/foo.cc:29:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' [-Wc++17-extensions]
29 | auto [cur, steps] = q.front();
| ^
/in/foo.cc:34:18: warning: narrowing conversion of 'floor((1.2e+0 * (double)cur))' from 'double' to 'int' [-Wnarrowing]
34 | floor(1.2 * cur), // 注意:1.2 * cur 要加括号
| ~~~~~^~~~~~~~~~~
信息
- 递交者
- 类型
- 递交
- 题目
- P2327 数字变换
- 语言
- C++
- 递交时间
- 2026-03-13 20:08:24
- 评测时间
- 2026-03-13 20:08:24
- 评测机
- 分数
- 60
- 总耗时
- 24ms
- 峰值内存
- 540.0 KiB