/ Vijos /

记录详情

Wrong Answer

foo.cc: In function ‘void solve_1008(std::unordered_map<int, std::vector<int> >&)’:
foo.cc:70:19: warning: comparison of integer expressions of different signedness: ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
   70 |     if(seq1.size()!=n || seq2.size()!=n) {
      |        ~~~~~~~~~~~^~~
foo.cc:70:37: warning: comparison of integer expressions of different signedness: ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
   70 |     if(seq1.size()!=n || seq2.size()!=n) {
      |                          ~~~~~~~~~~~^~~
foo.cc:74:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   74 |     for(int i=0;i<seq1.size();i++) {
      |                 ~^~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 3ms 536.0 KiB
#2 Wrong Answer Read 96, expect -1. 3ms 764.0 KiB
#3 Accepted 5ms 792.0 KiB
#4 Wrong Answer Read 49993, expect 49992. 132ms 21.637 MiB
#5 Wrong Answer Read 49993, expect 49991. 133ms 21.637 MiB
#6 Accepted 156ms 21.676 MiB
#7 Wrong Answer Read 49993, expect 49992. 156ms 21.637 MiB
#8 Wrong Answer Read 49993, expect 49992. 160ms 21.785 MiB
#9 Accepted 118ms 21.676 MiB
#10 Accepted 134ms 21.664 MiB

信息

递交者
类型
递交
题目
P1008 篝火晚会
语言
C++
递交时间
2024-09-27 14:48:01
评测时间
2024-09-27 14:48:01
评测机
分数
50
总耗时
1004ms
峰值内存
21.785 MiB