/ Vijos /

记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:51:27: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
   51 |         if (answer.size() >= n) {
      |             ~~~~~~~~~~~~~~^~~~
foo.cc:55:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   55 |     for (int i = 0; i < answer.size(); i++) {
      |                     ~~^~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 1, expect 2. 3ms 384.0 KiB
#2 Runtime Error Aborted 4ms 512.0 KiB
#3 Wrong Answer Read 1, expect 2. 2ms 384.0 KiB
#4 Wrong Answer Read 1, expect 2. 2ms 384.0 KiB
#5 Wrong Answer Standard answer longer than user output. 2ms 384.0 KiB
#6 Runtime Error Aborted 2ms 512.0 KiB
#7 Wrong Answer Read 900, expect 2. 2ms 384.0 KiB
#8 Wrong Answer Read 1, expect 2. 2ms 384.0 KiB
#9 Wrong Answer Read 1, expect 2. 2ms 384.0 KiB
#10 Wrong Answer Read 1, expect 2. 3ms 384.0 KiB

信息

递交者
类型
递交
题目
P1062 迎春舞会之交谊舞
语言
C++
递交时间
2022-03-18 21:52:16
评测时间
2022-03-18 21:52:16
评测机
分数
0
总耗时
29ms
峰值内存
512.0 KiB