/ 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 372.0 KiB

信息

递交者
类型
自测
题目
P1778 vigenere密码
语言
C++
递交时间
2017-10-23 21:03:30
评测时间
2017-10-23 21:03:30
评测机
分数
10
总耗时
4ms
峰值内存
372.0 KiB