/ Vijos /

记录详情

Accepted

foo.cc: In function ‘int dfs(std::unordered_map<std::__cxx11::basic_string<char>, int>&, std::vector<std::vector<int> >&, int, int)’:
foo.cc:25:11: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   25 |     if(cur==data.size()) {
      |        ~~~^~~~~~~~~~~~~
foo.cc: In function ‘void solve2_1104(std::vector<std::vector<int> >&)’:
foo.cc:59:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   59 |     for(int i=1;i<data.size();i++) {
      |                 ~^~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 328.0 KiB
#2 Accepted 3ms 536.0 KiB
#3 Accepted 4ms 792.0 KiB
#4 Accepted 3ms 536.0 KiB
#5 Accepted 3ms 792.0 KiB
#6 Accepted 3ms 792.0 KiB
#7 Accepted 3ms 792.0 KiB
#8 Accepted 3ms 1016.0 KiB
#9 Accepted 3ms 792.0 KiB
#10 Accepted 3ms 792.0 KiB

信息

递交者
类型
递交
题目
P1104 采药
语言
C++
递交时间
2024-09-26 07:40:58
评测时间
2024-09-26 07:40:58
评测机
分数
100
总耗时
36ms
峰值内存
1016.0 KiB