/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:13:24: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
   13 |     while (numb.size() < k) {//TO DO:找序列前k个
      |            ~~~~~~~~~~~~^~~
foo.cc:22:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   22 |     for (int i = 0; i < numb.size(); i++)//TO DO:int转string。
      |                     ~~^~~~~~~~~~~~~
foo.cc:35:14: warning: statement has no effect [-Wunused-value]
   35 |         for (i; i != n.end() ; i++)
      |              ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 332.0 KiB
#2 Accepted 4ms 412.0 KiB
#3 Accepted 3ms 412.0 KiB
#4 Accepted 31ms 1.004 MiB
#5 Accepted 107ms 1.074 MiB
#6 Accepted 334ms 1.234 MiB
#7 Accepted 16ms 1.398 MiB
#8 Accepted 17ms 1.465 MiB
#9 Accepted 491ms 1.477 MiB
#10 Accepted 17ms 1.477 MiB

信息

递交者
类型
递交
题目
P1545 集合删数
语言
C++
递交时间
2023-08-09 16:48:49
评测时间
2023-08-09 16:48:49
评测机
分数
100
总耗时
1027ms
峰值内存
1.477 MiB