记录详情

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 21ms 412.0 KiB
#2 Accepted 22ms 412.0 KiB
#3 Accepted 16ms 412.0 KiB
#4 Accepted 7ms 328.0 KiB
#5 Accepted 28ms 412.0 KiB
#6 Accepted 7ms 412.0 KiB
#7 Accepted 17ms 412.0 KiB
#8 Accepted 8ms 412.0 KiB
#9 Accepted 6ms 412.0 KiB
#10 Accepted 16ms 412.0 KiB
#11 Accepted 14ms 412.0 KiB
#12 Accepted 14ms 412.0 KiB
#13 Accepted 21ms 412.0 KiB
#14 Accepted 12ms 316.0 KiB
#15 Accepted 5ms 412.0 KiB
#16 Accepted 9ms 412.0 KiB
#17 Accepted 11ms 412.0 KiB
#18 Accepted 15ms 412.0 KiB
#19 Accepted 25ms 428.0 KiB
#20 Accepted 3ms 412.0 KiB

信息

递交者
类型
递交
题目
P1495 Problem 1D. 模拟bitset
比赛
2023秋 悬赏令第一周
语言
C++
递交时间
2023-10-02 11:35:06
评测时间
2023-10-02 11:35:06
评测机
分数
120
总耗时
287ms
峰值内存
428.0 KiB