Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:30:31: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
   30 |                 if (c1.size() > n / 2) {
      |                     ~~~~~~~~~~^~~~~~~
/in/foo.cc:36:43: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   36 |                         for (int i = 1; i <= c1.size() - n / 2; i ++) {
      |                                         ~~^~~~~~~~~~~~~~~~~~~~
/in/foo.cc:40:31: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
   40 |                 if (c2.size() > n / 2) {
      |                     ~~~~~~~~~~^~~~~~~
/in/foo.cc:46:43: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   46 |                         for (int i = 1; i <= c2.size() - n / 2; i ++) {
      |                                         ~~^~~~~~~~~~~~~~~~~~~~
/in/foo.cc:50:31: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
   50 |                 if (c3.size() > n / 2) {
      |                     ~~~~~~~~~~^~~~~~~
/in/foo.cc:56:43: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   56 |                         for (int i = 1; i <= c3.size() - n / 2; i ++) {
      |                                         ~~^~~~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 728.0 KiB
#2 Accepted 2ms 792.0 KiB
#3 Accepted 2ms 784.0 KiB
#4 Accepted 2ms 736.0 KiB
#5 Accepted 2ms 868.0 KiB
#6 Accepted 2ms 900.0 KiB
#7 Accepted 2ms 952.0 KiB
#8 Accepted 2ms 916.0 KiB
#9 Accepted 2ms 748.0 KiB
#10 Accepted 2ms 712.0 KiB
#11 Accepted 2ms 936.0 KiB
#12 Accepted 128ms 2.945 MiB
#13 Accepted 138ms 2.898 MiB
#14 Accepted 143ms 2.902 MiB
#15 Accepted 145ms 2.832 MiB
#16 Accepted 149ms 2.785 MiB
#17 Accepted 155ms 2.848 MiB
#18 Accepted 155ms 2.898 MiB
#19 Accepted 155ms 2.898 MiB
#20 Accepted 153ms 2.68 MiB

信息

递交者
类型
递交
题目
P2991 社团招新
比赛
2025.11.23高级班练习
语言
C++
递交时间
2025-11-27 20:44:37
评测时间
2025-11-27 20:44:38
评测机
分数
100
总耗时
1353ms
峰值内存
2.945 MiB