/ Vijos /

记录详情

Accepted

foo.cc: In function ‘int main()’:
foo.cc:39:29: warning: comparison of integer expressions of different signedness: ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
   39 |                 if (v.size()==n) break;
      |                     ~~~~~~~~^~~
foo.cc:54:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   54 |         for (int i=0;i<v.size();i++) cout<<v[i]<<" ";
      |                      ~^~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 3ms 536.0 KiB
#2 Accepted 2ms 540.0 KiB
#3 Accepted 3ms 540.0 KiB
#4 Accepted 5ms 536.0 KiB
#5 Accepted 3ms 764.0 KiB
#6 Accepted 8ms 836.0 KiB
#7 Accepted 12ms 636.0 KiB
#8 Accepted 39ms 792.0 KiB
#9 Accepted 64ms 1.109 MiB
#10 Accepted 221ms 4.324 MiB

信息

递交者
类型
递交
题目
P1091 环城旅行
语言
C++
递交时间
2024-09-22 15:47:32
评测时间
2024-09-23 09:52:25
评测机
分数
100
总耗时
365ms
峰值内存
4.324 MiB