记录详情

Accepted

foo.cc: In function 'int countFor(std::vector<int>&, std::vector<bool>&, int)':
foo.cc:11:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   11 |     while (read < nums.size())
      |            ~~~~~^~~~~~~~~~~~~
foo.cc:14:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   14 |         while (!dp[read] && read < nums.size())
      |                             ~~~~~^~~~~~~~~~~~~
foo.cc:19:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   19 |         if (read == nums.size())
      |             ~~~~~^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 412.0 KiB
#2 Accepted 4ms 412.0 KiB

信息

递交者
类型
自测
题目
P1554 Problem 7E. 完美序列
语言
C++
递交时间
2023-11-23 15:27:13
评测时间
2023-11-23 15:27:13
评测机
分数
20
总耗时
9ms
峰值内存
412.0 KiB