Accepted

foo.cc: In function ‘int main()’:
foo.cc:11:9: warning: this ‘while’ clause does not guard... [-Wmisleading-indentation]
   11 |         while(a[i]<0)i++;i--;
      |         ^~~~~
foo.cc:11:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘while’
   11 |         while(a[i]<0)i++;i--;
      |                          ^
foo.cc:12:9: warning: this ‘while’ clause does not guard... [-Wmisleading-indentation]
   12 |         while(b[j]<0)j++;j--;
      |         ^~~~~
foo.cc:12:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘while’
   12 |         while(b[j]<0)j++;j--;
      |                          ^
# 状态 耗时 内存占用
#1 Accepted 3ms 536.0 KiB
#2 Accepted 3ms 552.0 KiB
#3 Accepted 3ms 536.0 KiB
#4 Accepted 2ms 540.0 KiB
#5 Accepted 2ms 324.0 KiB

信息

递交者
类型
递交
题目
P1050 A9-3 数组中最大的负数
语言
C++
递交时间
2024-07-20 12:54:34
评测时间
2024-07-20 12:54:34
评测机
分数
100
总耗时
15ms
峰值内存
552.0 KiB