记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:13:2: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
  while ((com[pnt++] = getchar()) != '$'); getchar(); com[pnt-1] = 0; pnt = 0;
  ^~~~~
foo.cc:13:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
  while ((com[pnt++] = getchar()) != '$'); getchar(); com[pnt-1] = 0; pnt = 0;
                                           ^~~~~~~
foo.cc:14:2: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
  while ((inp[pnt++] = getchar()) != '$'); inp[pnt-2] = 0; pnt = 0;
  ^~~~~
foo.cc:14:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
  while ((inp[pnt++] = getchar()) != '$'); inp[pnt-2] = 0; pnt = 0;
                                           ^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 63ms 524.0 KiB
#2 Runtime Error Segmentation fault 63ms 496.0 KiB
#3 Runtime Error Segmentation fault 51ms 484.0 KiB
#4 Runtime Error Segmentation fault 51ms 536.0 KiB
#5 Runtime Error Segmentation fault 49ms 524.0 KiB
#6 Runtime Error Segmentation fault 50ms 524.0 KiB
#7 Runtime Error Segmentation fault 51ms 524.0 KiB
#8 Runtime Error Segmentation fault 52ms 516.0 KiB
#9 Runtime Error Segmentation fault 51ms 520.0 KiB
#10 Runtime Error Segmentation fault 50ms 528.0 KiB
#11 Runtime Error Segmentation fault 5ms 580.0 KiB
#12 Runtime Error Segmentation fault 5ms 488.0 KiB
#13 Runtime Error Segmentation fault 51ms 508.0 KiB
#14 Runtime Error Segmentation fault 32ms 520.0 KiB
#15 Runtime Error Segmentation fault 3ms 568.0 KiB
#16 Runtime Error Segmentation fault 6ms 500.0 KiB
#17 Runtime Error Segmentation fault 8ms 568.0 KiB
#18 Runtime Error Segmentation fault 7ms 500.0 KiB
#19 Runtime Error Segmentation fault 17ms 548.0 KiB
#20 Runtime Error Segmentation fault 3ms 508.0 KiB

信息

递交者
类型
递交
题目
P1276 BF
比赛
2021苏青奥赛集训营(2021/7/17训练赛)
语言
C++
递交时间
2021-07-17 10:13:48
评测时间
2021-07-17 10:13:48
评测机
分数
0
总耗时
677ms
峰值内存
580.0 KiB