/ Vijos /

记录详情

Time Exceeded

foo.cc: In function 'void DFS(std::string, long long int)':
foo.cc:50:54: warning: comparison of integer expressions of different signedness: 'long long int' and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare]
   50 |                 while ((pos = now.find(it->fi, pos)) != string::npos)
      |                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
foo.cc:54:43: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   54 |                         for (int i = 0; i < v[it->se].size(); ++i)
      |                                         ~~^~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 13ms 4.949 MiB
#2 Accepted 11ms 4.902 MiB
#3 Accepted 13ms 4.945 MiB
#4 Accepted 22ms 5.008 MiB
#5 Time Exceeded ≥1100ms ≥4.902 MiB

信息

递交者
类型
递交
题目
P1124 字串变换
语言
C++
递交时间
2023-07-06 12:31:34
评测时间
2023-07-06 12:31:34
评测机
分数
40
总耗时
≥1161ms
峰值内存
≥5.008 MiB