/ 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 548.0 KiB
#2 Accepted 2ms 764.0 KiB
#3 Accepted 3ms 536.0 KiB
#4 Accepted 3ms 532.0 KiB
#5 Accepted 5ms 536.0 KiB
#6 Accepted 8ms 576.0 KiB
#7 Accepted 13ms 536.0 KiB
#8 Accepted 33ms 888.0 KiB
#9 Accepted 63ms 1.238 MiB
#10 Accepted 194ms 4.273 MiB

信息

递交者
类型
递交
题目
P1091 环城旅行
语言
C++
递交时间
2024-09-20 18:54:50
评测时间
2024-09-20 18:54:50
评测机
分数
100
总耗时
331ms
峰值内存
4.273 MiB