记录详情

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)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer 0a1 > 1 6ms 1.527 MiB
#2 Wrong Answer 0a1 > 1 \ No newline at end of 6ms 1.527 MiB
#3 Wrong Answer 0a1 > 1 \ No newline at end of 6ms 1.523 MiB
#4 Wrong Answer 0a1 > 1 \ No newline at end of 5ms 1.523 MiB
#5 Wrong Answer 0a1 > 4 \ No newline at end of 5ms 1.445 MiB
#6 Runtime Error Segmentation fault 76ms 1.527 MiB
#7 Runtime Error Segmentation fault 72ms 1.562 MiB
#8 Runtime Error Segmentation fault 72ms 1.551 MiB
#9 Runtime Error Segmentation fault 72ms 1.527 MiB
#10 Runtime Error Segmentation fault 73ms 1.551 MiB

信息

递交者
类型
递交
题目
P1498 Problem 1F. Infinite sequence
语言
C++
递交时间
2023-10-10 21:59:40
评测时间
2023-10-10 21:59:40
评测机
分数
0
总耗时
398ms
峰值内存
1.562 MiB