Runtime Error

foo.cc: In function 'int main()':
foo.cc:23:10: warning: unused variable 's' [-Wunused-variable]
      int s=0;
          ^
foo.cc:32:2: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
  else
  ^~~~
foo.cc:34: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 Wrong Answer Read No, expect Yes. 2ms 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. 2ms 384.0 KiB
#6 Runtime Error Segmentation fault 2ms 376.0 KiB
#7 Wrong Answer Read Yes, expect Yes. 1ms 384.0 KiB
#8 Runtime Error Segmentation fault 2ms 384.0 KiB
#9 Runtime Error Segmentation fault 2ms 384.0 KiB
#10 Runtime Error Segmentation fault 2ms 384.0 KiB

信息

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