/ Vijos /

记录详情

Accepted

foo.cc: In function ‘void solve_1062(std::vector<int>&)’:
foo.cc:25:14: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   25 |     while(pt < data.size()) {
      |           ~~~^~~~~~~~~~~~~
foo.cc:35:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<char>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   35 |     for(auto i=0;i<sequence.size();i++) {
      |                  ~^~~~~~~~~~~~~~~~
foo.cc:48:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   48 |     for(auto i=0;i<ans.size();i++) {
      |                  ~^~~~~~~~~~~
foo.cc:49:14: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   49 |         if(i < ans.size()-1) {
      |            ~~^~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 3ms 324.0 KiB
#2 Accepted 3ms 536.0 KiB
#3 Accepted 3ms 532.0 KiB
#4 Accepted 3ms 536.0 KiB
#5 Accepted 3ms 764.0 KiB
#6 Accepted 2ms 576.0 KiB
#7 Accepted 3ms 512.0 KiB
#8 Accepted 3ms 536.0 KiB
#9 Accepted 3ms 536.0 KiB
#10 Accepted 3ms 536.0 KiB

信息

递交者
类型
递交
题目
P1062 迎春舞会之交谊舞
语言
C++
递交时间
2024-09-26 02:29:08
评测时间
2024-09-26 02:29:08
评测机
分数
100
总耗时
32ms
峰值内存
764.0 KiB