/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void Init()':
/in/foo.cc:15:19: warning: array subscript has type 'char' [-Wchar-subscripts]
             Map[ch][nCount + 65] = C;
                   ^
/in/foo.cc:25:20: warning: array subscript has type 'char' [-Wchar-subscripts]
             _Map[ch][nCount + 97] = C;
                    ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:35:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i = 0; i < strC.length(); i++) {
                     ~~^~~~~~~~~~~~~~~
/in/foo.cc:41:27: warning: array subscript has type 'char' [-Wchar-subscripts]
                 if (Map[ch][ch_S] == ch_C) {
                           ^
/in/foo.cc:50:28: warning: array subscript has type 'char' [-Wchar-subscripts]
                 if (_Map[ch][ch_S] == ch_C) {
                            ^
# 状态 耗时 内存占用
#1 Accepted 4ms 460.0 KiB
#2 Accepted 3ms 452.0 KiB
#3 Accepted 2ms 452.0 KiB
#4 Accepted 2ms 464.0 KiB
#5 Accepted 2ms 452.0 KiB
#6 Accepted 2ms 452.0 KiB
#7 Accepted 2ms 460.0 KiB
#8 Accepted 1ms 452.0 KiB
#9 Accepted 1ms 452.0 KiB
#10 Accepted 1ms 460.0 KiB

信息

递交者
类型
递交
题目
P1778 vigenere密码
语言
C++
递交时间
2017-10-23 21:04:55
评测时间
2017-10-23 21:04:55
评测机
分数
100
总耗时
25ms
峰值内存
464.0 KiB