/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/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个
      |            ~~~~~~~~~~~~^~~
/in/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。
      |                     ~~^~~~~~~~~~~~~
/in/foo.cc:35:14: warning: statement has no effect [-Wunused-value]
   35 |         for (i; i != n.end() ; i++)
      |              ^
# 状态 耗时 内存占用
#1 Accepted 2ms 500.0 KiB
#2 Accepted 2ms 576.0 KiB
#3 Accepted 2ms 584.0 KiB
#4 Accepted 17ms 1.07 MiB
#5 Accepted 29ms 1.133 MiB
#6 Accepted 130ms 1.234 MiB
#7 Accepted 8ms 1.285 MiB
#8 Accepted 9ms 1.348 MiB
#9 Accepted 204ms 1.328 MiB
#10 Accepted 8ms 1.32 MiB

信息

递交者
类型
递交
题目
P1545 集合删数
语言
C++
递交时间
2025-06-25 13:56:34
评测时间
2025-06-25 13:56:34
评测机
分数
100
总耗时
417ms
峰值内存
1.348 MiB