/ WHOJ /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:53:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<node>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   53 |   for (int i = 0; i < a[d].size(); i++) {
      |                   ~~^~~~~~~~~~~~~
foo.cc:64:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<node>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   64 |   for (int j = 0; j < a[u = tp[i]].size(); j++) {
      |                   ~~^~~~~~~~~~~~~~~~~~~~~
foo.cc:76:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<node>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   76 |   for (int j = 0; j < a[u = tp[i]].size(); j++) {
      |                   ~~^~~~~~~~~~~~~~~~~~~~~
foo.cc:84:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<node>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   84 |   for (int j = 0; j < a[tp[i]].size(); j++) {
      |                   ~~^~~~~~~~~~~~~~~~~
Found 6 testcases.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 2.676 MiB
#2 Accepted 4ms 2.625 MiB
#3 Accepted 3ms 2.625 MiB
#4 Accepted 7ms 2.625 MiB
#5 Accepted 4ms 2.625 MiB
#6 Accepted 4ms 2.625 MiB

信息

递交者
类型
递交
题目
P1383 关键工程
题目数据
下载
语言
C++
递交时间
2022-08-09 10:48:40
评测时间
2022-08-09 10:48:40
评测机
分数
100
总耗时
28ms
峰值内存
2.676 MiB