/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:79:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   79 |       for (int row1 = 0; row1 + 1 < rowc.size(); row1++) {
      |                          ~~~~~~~~~^~~~~~~~~~~~~
/in/foo.cc:89:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   89 |         for (int row1 = 0; row1 < rowc.size(); row1++) {
      |                            ~~~~~^~~~~~~~~~~~~
/in/foo.cc:99:31: warning: integer overflow in expression of type 'int' results in '2147483647' [-Woverflow]
   99 |         int minor = (1 << 31) - 1;
      |                     ~~~~~~~~~~^~~
# 状态 耗时 内存占用
#1 Runtime Error 7ms 5.195 MiB
#2 Runtime Error 7ms 5.188 MiB
#3 Runtime Error 7ms 5.203 MiB
#4 Runtime Error 7ms 5.184 MiB
#5 Runtime Error 7ms 5.191 MiB
#6 Runtime Error 96ms 27.113 MiB
#7 Runtime Error 96ms 27.133 MiB
#8 Runtime Error 97ms 27.117 MiB
#9 Runtime Error 99ms 27.125 MiB
#10 Runtime Error 87ms 27.148 MiB

信息

递交者
类型
递交
题目
P1914 子矩阵
语言
C++
递交时间
2025-10-28 11:01:03
评测时间
2025-10-28 11:01:03
评测机
分数
0
总耗时
513ms
峰值内存
27.148 MiB