Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:26:31: warning: comparison of integer expressions of different signedness: 'std::vector<long long int>::size_type' {aka 'long unsigned int'} and 'long long int' [-Wsign-compare]
   26 |                 if (c1.size() > n / 2) {
      |                     ~~~~~~~~~~^~~~~~~
/in/foo.cc:32:43: warning: comparison of integer expressions of different signedness: 'long long int' and 'long long unsigned int' [-Wsign-compare]
   32 |                         for (int i = 1; i <= c1.size() - n / 2; i ++) {
      |                                         ~~^~~~~~~~~~~~~~~~~~~~
/in/foo.cc:36:31: warning: comparison of integer expressions of different signedness: 'std::vector<long long int>::size_type' {aka 'long unsigned int'} and 'long long int' [-Wsign-compare]
   36 |                 if (c2.size() > n / 2) {
      |                     ~~~~~~~~~~^~~~~~~
/in/foo.cc:42:43: warning: comparison of integer expressions of different signedness: 'long long int' and 'long long unsigned int' [-Wsign-compare]
   42 |                         for (int i = 1; i <= c2.size() - n / 2; i ++) {
      |                                         ~~^~~~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 480.0 KiB
#2 Accepted 1ms 504.0 KiB
#3 Accepted 1ms 344.0 KiB
#4 Accepted 1ms 556.0 KiB
#5 Accepted 22ms 3.395 MiB
#6 Accepted 1ms 496.0 KiB
#7 Accepted 1ms 360.0 KiB
#8 Accepted 7ms 1.184 MiB
#9 Accepted 8ms 1.234 MiB
#10 Accepted 55ms 5.824 MiB

信息

递交者
类型
递交
题目
P2886 平均分配2025.3GESP5级T1
比赛
2025.11.23高级班练习
语言
C++
递交时间
2025-12-04 19:34:30
评测时间
2025-12-04 19:34:30
评测机
分数
100
总耗时
104ms
峰值内存
5.824 MiB