/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:19:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
      for(j=2;j<=n;j++)
      ^~~
/in/foo.cc:21:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
     if(k==0) p=(int)s[i][1][0];
     ^~
/in/foo.cc:22:17: warning: array subscript has type 'char' [-Wchar-subscripts]
     a[s[i][1][0]]=k;
                 ^
/in/foo.cc:30:51: warning: array subscript has type 'char' [-Wchar-subscripts]
     cout<<(char)s[i][1][0]<<"="<<(int)a[s[i][1][0]]<<" ";
                                                   ^
# 状态 耗时 内存占用
#1 Accepted 1ms 308.0 KiB
#2 Wrong Answer 1ms 192.0 KiB
#3 Wrong Answer 1ms 200.0 KiB
#4 Wrong Answer 1ms 192.0 KiB
#5 Wrong Answer 1ms 184.0 KiB
#6 Accepted 1ms 208.0 KiB
#7 Wrong Answer 1ms 312.0 KiB
#8 Wrong Answer 1ms 184.0 KiB
#9 Wrong Answer 1ms 200.0 KiB
#10 Wrong Answer 1ms 192.0 KiB

信息

递交者
类型
递交
题目
P1596 加法表
语言
C++
递交时间
2018-10-28 11:01:33
评测时间
2018-10-28 11:01:33
评测机
分数
20
总耗时
17ms
峰值内存
312.0 KiB