/ Vijos /

记录详情

Wrong Answer

/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 1ms 336.0 KiB
#2 Accepted 1ms 328.0 KiB
#3 Accepted 2ms 320.0 KiB
#4 Accepted 1ms 332.0 KiB
#5 Accepted 1ms 320.0 KiB
#6 Wrong Answer 1ms 204.0 KiB
#7 Accepted 3ms 320.0 KiB
#8 Accepted 4ms 332.0 KiB
#9 Wrong Answer 3ms 316.0 KiB
#10 Accepted 4ms 332.0 KiB

信息

递交者
类型
递交
题目
P1449 字符串还原
语言
C++
递交时间
2018-12-11 21:50:08
评测时间
2018-12-11 21:50:33
评测机
分数
80
总耗时
25ms
峰值内存
336.0 KiB