/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'std::vector<std::vector<int> > get_map(std::vector<std::vector<int> >)':
foo.cc:10:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   10 |  for (int i = 0;i < map.size();i++)
      |                 ~~^~~~~~~~~~~~
foo.cc:12:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   12 |   for (int j = 1;j < map[0].size();j++)
      |                  ~~^~~~~~~~~~~~~~~
foo.cc:17:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   17 |  for (int i = 1;i < map.size();i++)
      |                 ~~^~~~~~~~~~~~
foo.cc:19:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   19 |   for (int j = 0;j < map[0].size();j++)
      |                  ~~^~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 384.0 KiB
#2 Accepted 4ms 384.0 KiB
#3 Wrong Answer Read 2, expect 4. 5ms 384.0 KiB
#4 Wrong Answer Read 2, expect 4. 5ms 384.0 KiB
#5 Accepted 4ms 384.0 KiB
#6 Accepted 9ms 512.0 KiB
#7 Wrong Answer Read 11, expect 12. 8ms 384.0 KiB
#8 Wrong Answer Read 11, expect 12. 11ms 512.0 KiB
#9 Wrong Answer Read 20, expect 31. 8ms 512.0 KiB
#10 Accepted 9ms 512.0 KiB

信息

递交者
类型
递交
题目
P1057 盖房子
语言
C++
递交时间
2021-12-30 19:54:31
评测时间
2021-12-30 19:54:31
评测机
分数
50
总耗时
71ms
峰值内存
512.0 KiB