Runtime Error
foo.cc: In function 'void solve(std::vector<int>&&)': foo.cc:27:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 27 | for (int i = 0; i < idx.size(); i++) cnt[col[idx[i]]].push_back(i); | ~~^~~~~~~~~~~~ foo.cc:29:15: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' [-Wc++17-extensions] 29 | for (auto [color, idxs] : cnt) { | ^
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1498 Problem 1F. Infinite sequence
- 语言
- C++
- 递交时间
- 2023-10-10 21:59:40
- 评测时间
- 2023-10-10 21:59:40
- 评测机
- 分数
- 0
- 总耗时
- 398ms
- 峰值内存
- 1.562 MiB