记录详情

Accepted

foo.cc: In function 'std::string H(std::string, std::string, int)':
foo.cc:12:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   12 |     for (int i = 0; i < b.size(); i++)
      |                     ~~^~~~~~~~~~
foo.cc:21:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   21 |         i < a.size() ? (a[i] += jw, jw = (a[i] - '0') / 10) : (a.push_back(jw + '0'), jw /= 10);
      |         ~~^~~~~~~~~~
foo.cc: In function 'std::string gwh(std::string)':
foo.cc:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   30 |     for (int i = 0; i < h.size(); i++)
      |                     ~~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 284.0 KiB
#2 Accepted 4ms 412.0 KiB
#3 Accepted 3ms 412.0 KiB
#4 Accepted 5ms 332.0 KiB
#5 Accepted 3ms 336.0 KiB
#6 Accepted 3ms 412.0 KiB
#7 Accepted 3ms 412.0 KiB
#8 Accepted 3ms 332.0 KiB
#9 Accepted 3ms 412.0 KiB
#10 Accepted 3ms 412.0 KiB
#11 Accepted 3ms 412.0 KiB
#12 Accepted 4ms 412.0 KiB
#13 Accepted 14ms 1.027 MiB
#14 Accepted 14ms 1.027 MiB
#15 Accepted 15ms 924.0 KiB
#16 Accepted 14ms 924.0 KiB
#17 Accepted 13ms 924.0 KiB
#18 Accepted 15ms 968.0 KiB
#19 Accepted 14ms 924.0 KiB
#20 Accepted 14ms 924.0 KiB

信息

递交者
类型
递交
题目
P1511 Problem 2D. A+B,但是人生苦短...
比赛
2023秋 悬赏令第二周
语言
C++
递交时间
2023-10-17 13:23:07
评测时间
2023-10-17 13:23:07
评测机
分数
100
总耗时
163ms
峰值内存
1.027 MiB