记录详情

Runtime Error

/in/foo.c: In function 'main':
/in/foo.c:9:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(i=0;(z[i]=getchar())!='\n';i++);
  ^~~
/in/foo.c:11:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   if(z[0]=='D')
   ^~
/in/foo.c:34:6: warning: statement with no effect [-Wunused-value]
      for(j;j>i;j--) 
      ^~~
# 状态 耗时 内存占用
#1 Accepted 1ms 228.0 KiB
#2 Runtime Error 1ms 320.0 KiB
#3 Wrong Answer 1ms 248.0 KiB
#4 Accepted 1ms 228.0 KiB
#5 Runtime Error 1ms 364.0 KiB
#6 Runtime Error 5ms 320.0 KiB
#7 Runtime Error 1ms 360.0 KiB
#8 Wrong Answer 1ms 272.0 KiB
#9 Accepted 1ms 276.0 KiB
#10 Wrong Answer 0ms 212.0 KiB

信息

递交者
类型
递交
题目
P2390 字符串编辑(
语言
C
递交时间
2023-10-27 13:07:01
评测时间
2023-10-27 13:07:01
评测机
分数
30
总耗时
16ms
峰值内存
364.0 KiB