记录详情

Accepted

foo.cc: In member function 'int BitSet::count()':
foo.cc:20:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   20 |                 for (int i = 0; i < q.size(); i++)
      |                                 ~~^~~~~~~~~~
foo.cc: In member function 'bool BitSet::any()':
foo.cc:28:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   28 |                 for (int i = 0; i < q.size(); i++)
      |                                 ~~^~~~~~~~~~
foo.cc: In member function 'unsigned int BitSet::to_ulong()':
foo.cc:60:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   60 |                 for (int i = 0; i < q.size(); i++)
      |                                 ~~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 412.0 KiB

信息

递交者
类型
自测
题目
P1495 Problem 1D. 模拟bitset
语言
C++
递交时间
2023-10-02 11:34:28
评测时间
2023-10-02 11:34:28
评测机
分数
10
总耗时
4ms
峰值内存
412.0 KiB