记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:10:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   10 |         for (int i = 0; i < a.size(); i++) {
      |                         ~~^~~~~~~~~~
foo.cc:19:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   19 |                 for (int j = 0;j<a.size()-1;j++) {
      |                                ~^~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 328.0 KiB

信息

递交者
类型
自测
题目
P1421 1-5 游游的交换字符
语言
C++
递交时间
2023-07-03 11:28:00
评测时间
2023-07-03 11:28:00
评测机
分数
10
总耗时
4ms
峰值内存
328.0 KiB