Runtime Error

foo.cc: In function ‘int main()’:
foo.cc:17:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   17 |                 for (int j=0;j<=ans.size()-1;j++)
      |                              ~^~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 2ms 508.0 KiB
#2 Time Exceeded ≥1000ms ≥1.242 MiB
#3 Time Exceeded ≥1001ms ≥1.109 MiB
#4 Time Exceeded ≥1000ms ≥1.281 MiB
#5 Runtime Error Segmentation fault 2ms 508.0 KiB
#6 Time Exceeded ≥1001ms ≥1.367 MiB
#7 Time Exceeded ≥1001ms ≥1.105 MiB
#8 Time Exceeded ≥1001ms ≥1.094 MiB
#9 Time Exceeded ≥1001ms ≥1.109 MiB
#10 Time Exceeded ≥1000ms ≥1.121 MiB

信息

递交者
类型
递交
题目
P2949 奇偶校验 2025.6GESP3级T1
语言
C++
递交时间
2026-07-16 19:11:47
评测时间
2026-07-16 19:11:47
评测机
分数
0
总耗时
8014ms
峰值内存
1.367 MiB