Runtime Error

foo.cc: In function 'int main()':
foo.cc:20:10: warning: unused variable 's' [-Wunused-variable]
      int s=0;
          ^
foo.cc:29:2: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
  else
  ^~~~
foo.cc:31:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
   f=1;i+=n;y++; 
   ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read Yes, expect No. 1ms 384.0 KiB
#2 Runtime Error Segmentation fault 1ms 384.0 KiB
#3 Wrong Answer 1d0 < Yes 3a3 > Yes 1ms 384.0 KiB
#4 Wrong Answer Read Yes, expect No. 1ms 384.0 KiB
#5 Wrong Answer Read Yes, expect No. 1ms 384.0 KiB
#6 Runtime Error Segmentation fault 1ms 384.0 KiB
#7 Runtime Error Segmentation fault 1ms 384.0 KiB
#8 Runtime Error Segmentation fault 1ms 384.0 KiB
#9 Runtime Error Segmentation fault 1ms 384.0 KiB
#10 Runtime Error Segmentation fault 1ms 384.0 KiB

信息

递交者
类型
递交
语言
C++
递交时间
2021-12-01 17:00:00
评测时间
2021-12-01 17:01:04
评测机
分数
0
总耗时
16ms
峰值内存
384.0 KiB