/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void TreeDP(int, int)':
/in/foo.cc:42:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   42 |         for (int z = 0; z < edge[x].size(); z++)
      |                         ~~^~~~~~~~~~~~~~~~
/in/foo.cc:48:38: warning: unused variable 'tmp2' [-Wunused-variable]
   48 |                         ll tmp1 = 0, tmp2 = 0;
      |                                      ^~~~
/in/foo.cc:68:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   68 |         for (int z = 0; z < edge[x].size(); z++) if (edge[x][z] != st) num[++len] = edge[x][z];
      |                         ~~^~~~~~~~~~~~~~~~
/in/foo.cc:40:13: warning: unused variable 't1' [-Wunused-variable]
   40 |         int t1 = 1, t2 = 0;
      |             ^~
/in/foo.cc:40:21: warning: unused variable 't2' [-Wunused-variable]
   40 |         int t1 = 1, t2 = 0;
      |                     ^~
# 状态 耗时 内存占用
#1 Accepted 5ms 5.0 MiB
#2 Accepted 5ms 5.102 MiB
#3 Accepted 5ms 5.102 MiB
#4 Accepted 5ms 5.203 MiB
#5 Accepted 5ms 5.195 MiB
#6 Accepted 5ms 5.055 MiB
#7 Accepted 6ms 4.98 MiB
#8 Accepted 60ms 11.562 MiB
#9 Accepted 53ms 10.844 MiB
#10 Accepted 47ms 11.184 MiB

信息

递交者
类型
递交
题目
P1770 大内密探
语言
C++
递交时间
2025-02-15 15:54:27
评测时间
2025-02-15 15:54:27
评测机
分数
100
总耗时
203ms
峰值内存
11.562 MiB