/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'void change(int, int, int)':
/in/foo.cc:15:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(int i=1;i<=n;++i) cout<<char(c[1][i]+'a');cout<<endl;
  ^~~
/in/foo.cc:15:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  for(int i=1;i<=n;++i) cout<<char(c[1][i]+'a');cout<<endl;
                                                ^~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:20:12: warning: unused variable 'l' [-Wunused-variable]
  int i,j,k,l,m;
            ^
/in/foo.cc:20:14: warning: unused variable 'm' [-Wunused-variable]
  int i,j,k,l,m;
              ^
# 状态 耗时 内存占用
#1 Accepted 2ms 956.0 KiB
#2 Accepted 1ms 192.0 KiB
#3 Accepted 1ms 208.0 KiB
#4 Accepted 1ms 192.0 KiB
#5 Wrong Answer 1ms 188.0 KiB
#6 Wrong Answer 1ms 192.0 KiB
#7 Runtime Error 1ms 208.0 KiB
#8 Runtime Error 1ms 192.0 KiB
#9 Runtime Error 1ms 204.0 KiB
#10 Runtime Error 1ms 188.0 KiB

信息

递交者
类型
递交
题目
P1449 字符串还原
语言
C++
递交时间
2018-12-11 21:48:36
评测时间
2018-12-11 21:48:53
评测机
分数
40
总耗时
17ms
峰值内存
956.0 KiB