Accepted

foo.cc: In function 'int main()':
foo.cc:32:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   32 |         for(int i=1;i<=min((int)10,n)||i<=n&&t[i].sum==t[i-1].sum;i++)
      |                                        ~~~~^~~~~~~~~~~~~~~~~~~~~~
foo.cc:41:22: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<st>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   41 |         for(int i=0;i<l.size();i++)
      |                     ~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 28ms 1.777 MiB
#2 Accepted 6ms 1.777 MiB
#3 Accepted 8ms 1.777 MiB
#4 Accepted 9ms 1.777 MiB
#5 Accepted 9ms 1.777 MiB
#6 Accepted 9ms 1.695 MiB
#7 Accepted 8ms 1.777 MiB
#8 Accepted 8ms 1.777 MiB
#9 Accepted 9ms 1.801 MiB
#10 Accepted 10ms 1.777 MiB

信息

递交者
类型
递交
题目
P2445 歌咏比赛
比赛
2023CSP热身1
语言
C++
递交时间
2023-09-29 19:32:31
评测时间
2023-09-29 19:32:31
评测机
分数
100
总耗时
109ms
峰值内存
1.801 MiB