/ OPS /

记录详情

Accepted

/in/foo.cc: In function 'bool dfs(std::vector<std::vector<char> >&, int, int)':
/in/foo.cc:6:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<char> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
    6 |     if (x == grid.size() - 1) return true;
      |         ~~^~~~~~~~~~~~~~~~~~
/in/foo.cc:10:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   10 |         if (ny >= 0 && ny < grid[0].size() && grid[nx][ny] == '!') {
      |                        ~~~^~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 4ms 412.0 KiB

信息

递交者
类型
递交
比赛
2024_2025(1)C0023实验5+李强老师班级
语言
C++
递交时间
2024-11-25 17:41:31
评测时间
2024-11-25 17:41:31
评测机
分数
100
总耗时
4ms
峰值内存
412.0 KiB