/ WHOJ /

记录详情

Accepted

foo.cc: In function 'std::vector<int> add(std::vector<int>&, std::vector<int>&)':
foo.cc:16:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   16 |     for (int i = 0; i < A.size(); i++)
      |                     ~~^~~~~~~~~~
foo.cc:19:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   19 |         if (i < B.size())
      |             ~~^~~~~~~~~~
foo.cc: In function 'std::vector<int> mul(std::vector<int>&, LL)':
foo.cc:34:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   34 |     for (int i = 0; i < A.size() || t; i++)
      |                     ~~^~~~~~~~~~
foo.cc:36:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   36 |         if (i < A.size())
      |             ~~^~~~~~~~~~
foo.cc:42:21: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
   42 |     while (C.size() > 1 & C.back() == 0)
      |            ~~~~~~~~~^~~
正在同步测试数据,请稍后
Found 10 testcases.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 5ms 384.0 KiB
#2 Accepted 3ms 384.0 KiB
#3 Accepted 8ms 512.0 KiB
#4 Accepted 9ms 512.0 KiB
#5 Accepted 38ms 640.0 KiB
#6 Accepted 5ms 512.0 KiB
#7 Accepted 35ms 512.0 KiB
#8 Accepted 23ms 640.0 KiB
#9 Accepted 48ms 632.0 KiB
#10 Accepted 28ms 640.0 KiB

信息

递交者
类型
递交
题目
P1434 凸多边形的划分
题目数据
下载
语言
C++
递交时间
2022-07-30 21:20:04
评测时间
2022-07-30 21:20:04
评测机
分数
100
总耗时
207ms
峰值内存
640.0 KiB