记录详情

Accepted

foo.cc: In function 'void init(std::vector<std::vector<int> >&)':
foo.cc:11:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   11 |     for (int i = 0; i < v.size(); i++)
      |                     ~~^~~~~~~~~~
foo.cc:14:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   14 |     for (int i = 0; i < v[0].size(); i++){
      |                     ~~^~~~~~~~~~~~~
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 j = 1; j < v.size(); j++)
      |                         ~~^~~~~~~~~~
foo.cc: In function 'int Solve(std::vector<std::vector<int> >&)':
foo.cc:24:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   24 |     for (int i = 0; i < v.size(); i++)
      |                     ~~^~~~~~~~~~
foo.cc:25:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   25 |         for (int j = 0; j < v[i].size(); j++)
      |                         ~~^~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 2ms 384.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 6ms 384.0 KiB
#5 Accepted 2ms 384.0 KiB

信息

递交者
类型
递交
题目
4-5 有几个鞍点
比赛
2022暑期青少年社团(训练赛)
语言
C++
递交时间
2022-08-07 20:41:10
评测时间
2022-08-07 20:43:22
评测机
分数
100
总耗时
16ms
峰值内存
384.0 KiB