记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:17:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   17 |         for(int i=1;i<s.size()-1;i++)
      |                     ~^~~~~~~~~~~
foo.cc:22:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   22 |         for(int i=1;i<s.size();i++)
      |                     ~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 38ms 420.0 KiB
#2 Accepted 301ms 1.391 MiB

信息

递交者
类型
递交
题目
P1399 Problem 3C. 数组查询
比赛
悬赏令第三周
语言
C++
递交时间
2023-05-11 10:11:37
评测时间
2023-05-11 10:11:37
评测机
分数
100
总耗时
339ms
峰值内存
1.391 MiB