/ OPS /

记录详情

Accepted

/in/foo.cc: In function 'bool has_saddle_point(std::vector<std::vector<int> >&)':
/in/foo.cc:6:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
    6 |     for (int row = 0; row < matrix.size(); ++row) {
      |                       ~~~~^~~~~~~~~~~~~~~
/in/foo.cc:9:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
    9 |         for (int col = 1; col < matrix[row].size(); ++col) {
      |                           ~~~~^~~~~~~~~~~~~~~~~~~~
/in/foo.cc:16:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   16 |         for (int r = 0; r < matrix.size(); ++r) {
      |                         ~~^~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 4ms 340.0 KiB

信息

递交者
类型
递交
比赛
2024_2025(1)C0023实验4+李强老师班级
语言
C++
递交时间
2024-11-14 02:38:43
评测时间
2024-11-14 02:38:43
评测机
分数
10
总耗时
4ms
峰值内存
340.0 KiB