/ AOCode /

记录详情

Accepted

foo.cc: In function 'void change_lowercase(std::__cxx11::string&)':
foo.cc:10:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i = 0; i < s.size(); i++)
                 ~~^~~~~~~~~~
foo.cc: In function 'void cutpair(std::__cxx11::string, std::vector<codepair>&)':
foo.cc:30:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  while(s[i] == ' ' && i < s.size()) cout << ' ', ++i;
                       ~~^~~~~~~~~~
foo.cc:31:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  while(i < s.size()) {
        ~~^~~~~~~~~~
foo.cc: In function 'void putdecode(codepair)':
foo.cc:56:32: warning: array subscript has type 'char' [-Wchar-subscripts]
  pair<int, int> a = mapcode[p.f];
                                ^
foo.cc:57:32: warning: array subscript has type 'char' [-Wchar-subscripts]
  pair<int, int> b = mapcode[p.r];
                                ^
foo.cc: In function 'int main()':
foo.cc:91:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i = 0; i < k.size(); i++) {
                 ~~^~~~~~~~~~
foo.cc:93:19: warning: array subscript has type 'char' [-Wchar-subscripts]
   else if(uni[k[i]]) continue;
                   ^
foo.cc:96:12: warning: array subscript has type 'char' [-Wchar-subscripts]
    uni[k[i]] = true, mapcode[k[i]] = make_pair(p, q);
            ^
foo.cc:96:34: warning: array subscript has type 'char' [-Wchar-subscripts]
    uni[k[i]] = true, mapcode[k[i]] = make_pair(p, q);
                                  ^
foo.cc:128:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i = 0; i < v.size(); i++) {
                 ~~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 360.0 KiB
#2 Accepted 6ms 1.109 MiB
#3 Accepted 2ms 512.0 KiB
#4 Accepted 3ms 844.0 KiB
#5 Accepted 3ms 704.0 KiB
#6 Accepted 3ms 640.0 KiB
#7 Accepted 4ms 972.0 KiB
#8 Accepted 4ms 812.0 KiB
#9 Accepted 3ms 844.0 KiB
#10 Accepted 4ms 972.0 KiB
#11 Accepted 3ms 704.0 KiB
#12 Accepted 4ms 964.0 KiB
#13 Accepted 5ms 964.0 KiB
#14 Accepted 4ms 972.0 KiB
#15 Accepted 3ms 792.0 KiB
#16 Accepted 2ms 512.0 KiB
#17 Accepted 3ms 760.0 KiB
#18 Accepted 4ms 964.0 KiB
#19 Accepted 2ms 512.0 KiB
#20 Accepted 7ms 1.109 MiB
#21 Accepted 3ms 768.0 KiB
#22 Accepted 5ms 1.109 MiB
#23 Accepted 5ms 972.0 KiB
#24 Accepted 3ms 844.0 KiB
#25 Accepted 7ms 1.395 MiB
#26 Accepted 5ms 1.109 MiB
#27 Accepted 3ms 704.0 KiB
#28 Accepted 4ms 972.0 KiB
#29 Accepted 5ms 1.0 MiB
#30 Accepted 7ms 1.52 MiB
#31 Accepted 5ms 1.109 MiB
#32 Accepted 2ms 512.0 KiB
#33 Accepted 3ms 768.0 KiB
#34 Accepted 5ms 1.055 MiB
#35 Accepted 4ms 964.0 KiB
#36 Accepted 3ms 760.0 KiB
#37 Accepted 2ms 640.0 KiB
#38 Accepted 4ms 972.0 KiB
#39 Accepted 6ms 1.395 MiB
#40 Accepted 6ms 1.395 MiB
#41 Accepted 5ms 1.109 MiB
#42 Accepted 5ms 1.043 MiB
#43 Accepted 4ms 960.0 KiB
#44 Accepted 5ms 1.109 MiB
#45 Accepted 3ms 704.0 KiB
#46 Accepted 6ms 1.395 MiB
#47 Accepted 5ms 964.0 KiB
#48 Accepted 3ms 704.0 KiB
#49 Accepted 6ms 1.395 MiB
#50 Accepted 7ms 1.395 MiB
#51 Accepted 5ms 1.109 MiB
#52 Accepted 4ms 1.035 MiB
#53 Accepted 6ms 1.387 MiB
#54 Accepted 3ms 768.0 KiB
#55 Accepted 7ms 1.523 MiB
#56 Accepted 5ms 960.0 KiB
#57 Accepted 4ms 960.0 KiB
#58 Accepted 2ms 640.0 KiB
#59 Accepted 3ms 844.0 KiB
#60 Accepted 4ms 972.0 KiB
#61 Accepted 6ms 1.395 MiB
#62 Accepted 3ms 768.0 KiB
#63 Accepted 2ms 640.0 KiB
#64 Accepted 4ms 1016.0 KiB
#65 Accepted 6ms 1.109 MiB
#66 Accepted 5ms 1.121 MiB
#67 Accepted 6ms 1.109 MiB
#68 Accepted 2ms 640.0 KiB
#69 Accepted 4ms 1012.0 KiB
#70 Accepted 2ms 480.0 KiB
#71 Accepted 5ms 1.109 MiB
#72 Accepted 5ms 1.043 MiB
#73 Accepted 2ms 384.0 KiB
#74 Accepted 3ms 768.0 KiB
#75 Accepted 6ms 1.406 MiB
#76 Accepted 3ms 780.0 KiB
#77 Accepted 7ms 1.395 MiB
#78 Accepted 8ms 1.395 MiB
#79 Accepted 5ms 1.043 MiB
#80 Accepted 6ms 1.043 MiB
#81 Accepted 3ms 764.0 KiB
#82 Accepted 3ms 640.0 KiB
#83 Accepted 5ms 1.109 MiB
#84 Accepted 6ms 1.395 MiB
#85 Accepted 4ms 768.0 KiB
#86 Accepted 3ms 844.0 KiB
#87 Accepted 2ms 640.0 KiB
#88 Accepted 3ms 768.0 KiB
#89 Accepted 4ms 844.0 KiB
#90 Accepted 6ms 1.395 MiB
#91 Accepted 6ms 1.52 MiB
#92 Accepted 2ms 640.0 KiB
#93 Accepted 4ms 960.0 KiB
#94 Accepted 3ms 844.0 KiB
#95 Accepted 7ms 1.387 MiB
#96 Accepted 2ms 588.0 KiB
#97 Accepted 7ms 1.395 MiB
#98 Accepted 3ms 852.0 KiB
#99 Accepted 5ms 1.133 MiB
#100 Accepted 7ms 1.395 MiB

信息

递交者
类型
递交
题目
P1015 Mission 2 - A1 : Crack the Code! (EASY)
比赛
AOCode Round #1 (Div. 2) - First Contest ||Rated||
语言
C++
递交时间
2021-08-21 14:52:34
评测时间
2021-08-21 15:54:21
评测机
分数
100
总耗时
479ms
峰值内存
1.523 MiB