记录详情

Accepted

foo.cc: In function 'void dfs(int)':
foo.cc:63:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   63 |     for(int i=0;i<a1[x].size();i++) c1[a1[x][i]]++;
      |                 ~^~~~~~~~~~~~~
foo.cc:64:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   64 |     for(int i=0;i<b1[x].size();i++) c1[b1[x][i]]--;
      |                 ~^~~~~~~~~~~~~
foo.cc:65:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   65 |     for(int i=0;i<a2[x].size();i++) c2[a2[x][i]+n]++;
      |                 ~^~~~~~~~~~~~~
foo.cc:66:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   66 |     for(int i=0;i<b2[x].size();i++) c2[b2[x][i]+n]--;
      |                 ~^~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 57ms 29.242 MiB
#2 Accepted 47ms 29.25 MiB
#3 Accepted 41ms 29.242 MiB
#4 Accepted 33ms 29.25 MiB
#5 Accepted 37ms 29.25 MiB
#6 Accepted 305ms 55.242 MiB
#7 Accepted 327ms 55.117 MiB
#8 Accepted 302ms 55.242 MiB
#9 Accepted 172ms 46.719 MiB
#10 Accepted 231ms 46.719 MiB
#11 Accepted 277ms 46.719 MiB
#12 Accepted 240ms 46.719 MiB
#13 Accepted 211ms 47.098 MiB
#14 Accepted 230ms 47.223 MiB
#15 Accepted 199ms 47.098 MiB
#16 Accepted 259ms 47.098 MiB
#17 Accepted 205ms 46.227 MiB
#18 Accepted 209ms 46.227 MiB
#19 Accepted 200ms 46.227 MiB
#20 Accepted 836ms 80.082 MiB

信息

递交者
类型
递交
题目
P1077 天天爱跑步
语言
C++
递交时间
2022-07-27 16:43:36
评测时间
2022-07-27 16:43:36
评测机
分数
100
总耗时
4427ms
峰值内存
80.082 MiB