/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:26:37: warning: array subscript has type 'char' [-Wchar-subscripts]
     dp[i][0]=dp[i-1][0]+w[ecode[a[i]]][4];
                                     ^
/in/foo.cc:26:38: warning: array subscript has type 'char' [-Wchar-subscripts]
     dp[i][0]=dp[i-1][0]+w[ecode[a[i]]][4];
                                      ^
/in/foo.cc:28:40: warning: array subscript has type 'char' [-Wchar-subscripts]
     dp[0][j]=dp[0][j-1]+w[4][ecode[b[j]]];
                                        ^
/in/foo.cc:28:41: warning: array subscript has type 'char' [-Wchar-subscripts]
     dp[0][j]=dp[0][j-1]+w[4][ecode[b[j]]];
                                         ^
/in/foo.cc:32:20: warning: array subscript has type 'char' [-Wchar-subscripts]
    int x=ecode[a[i]],y=ecode[b[j]];
                    ^
/in/foo.cc:32:34: warning: array subscript has type 'char' [-Wchar-subscripts]
    int x=ecode[a[i]],y=ecode[b[j]];
                                  ^
# 状态 耗时 内存占用
#1 Accepted 2ms 896.0 KiB
#2 Accepted 2ms 540.0 KiB
#3 Accepted 1ms 376.0 KiB
#4 Accepted 1ms 380.0 KiB
#5 Accepted 1ms 376.0 KiB
#6 Accepted 1ms 424.0 KiB
#7 Accepted 1ms 376.0 KiB
#8 Accepted 2ms 416.0 KiB
#9 Accepted 2ms 456.0 KiB
#10 Accepted 2ms 380.0 KiB

信息

递交者
类型
递交
题目
P1168 相似基因
语言
C++
递交时间
2025-03-08 10:10:24
评测时间
2025-03-08 10:10:24
评测机
分数
100
总耗时
20ms
峰值内存
896.0 KiB