记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:137:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  137 |         for (int t = 0; t < temp.size(); ++t) {
      |                         ~~^~~~~~~~~~~~~
/in/foo.cc:142:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  142 |             int next_l = (t + 1 < temp.size()) ? temp[t + 1].first : (i + 1);
      |                           ~~~~~~^~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 480.0 KiB
#2 Accepted 2ms 396.0 KiB
#3 Accepted 2ms 476.0 KiB
#4 Accepted 2ms 472.0 KiB
#5 Accepted 2ms 476.0 KiB
#6 Accepted 1ms 472.0 KiB
#7 Accepted 1ms 524.0 KiB
#8 Accepted 2ms 488.0 KiB
#9 Accepted 2ms 524.0 KiB
#10 Accepted 2ms 532.0 KiB

信息

递交者
类型
递交
题目
P1011 渊月螺旋
语言
C++
递交时间
2025-10-07 15:45:49
评测时间
2025-10-07 15:45:49
评测机
分数
250
总耗时
22ms
峰值内存
532.0 KiB