记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:20:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   20 |     while (i < message.length())
      |            ~~^~~~~~~~~~~~~~~~~~
foo.cc:22:63: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   22 |         while (key_map.find(message[i]) != key_map.end() && i < message.length())
      |                                                             ~~^~~~~~~~~~~~~~~~~~
foo.cc:24:63: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   24 |         while (key_map.find(message[i]) == key_map.end() && i < message.length())
      |                                                             ~~^~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 5ms 412.0 KiB
#2 Accepted 4ms 284.0 KiB
#3 Accepted 4ms 412.0 KiB
#4 Accepted 4ms 412.0 KiB
#5 Accepted 4ms 412.0 KiB
#6 Accepted 3ms 332.0 KiB
#7 Accepted 3ms 356.0 KiB
#8 Accepted 4ms 412.0 KiB
#9 Accepted 6ms 412.0 KiB
#10 Accepted 3ms 412.0 KiB
#11 Accepted 3ms 412.0 KiB
#12 Accepted 4ms 412.0 KiB
#13 Accepted 3ms 412.0 KiB
#14 Accepted 3ms 412.0 KiB
#15 Accepted 3ms 412.0 KiB
#16 Accepted 4ms 412.0 KiB
#17 Accepted 4ms 412.0 KiB
#18 Accepted 4ms 412.0 KiB
#19 Accepted 5ms 396.0 KiB
#20 Accepted 5ms 408.0 KiB

信息

递交者
类型
递交
题目
P1556 Problem 8A. 兄妹的密文
比赛
2023秋 悬赏令第八周
语言
C++
递交时间
2023-11-27 21:02:43
评测时间
2023-11-28 00:46:46
评测机
分数
100
总耗时
87ms
峰值内存
412.0 KiB