记录详情

Accepted

foo.cc: In function 'void mysearch(long long int, long long int, long long int)':
foo.cc:28:25: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   28 |         int mid = l + r + 1 >> 1;
      |                   ~~~~~~^~~
foo.cc: In function 'void test()':
foo.cc:52:20: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   52 |     for (int i=0; i<p.size(); i++) {
      |                   ~^~~~~~~~~
foo.cc:57:20: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   57 |     for (int i=0; i<p.size(); i++) {
      |                   ~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 5ms 540.0 KiB
#2 Accepted 5ms 540.0 KiB
#3 Accepted 4ms 516.0 KiB
#4 Accepted 4ms 540.0 KiB
#5 Accepted 5ms 540.0 KiB
#6 Accepted 6ms 540.0 KiB
#7 Accepted 7ms 540.0 KiB
#8 Accepted 8ms 668.0 KiB
#9 Accepted 8ms 668.0 KiB
#10 Accepted 11ms 588.0 KiB

信息

递交者
类型
递交
题目
4 排序中的交换次数
比赛
2023暑假集训7月4日训练题
语言
C++
递交时间
2023-07-04 10:09:54
评测时间
2023-07-04 10:09:54
评测机
分数
100
总耗时
68ms
峰值内存
668.0 KiB