/ Vijos /

记录详情

Accepted

foo.cc: In function 'void dfs(int)':
foo.cc:47:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<e2[x].size();i++)
              ~^~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:81:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d%d",&n,&m);
  ~~~~~^~~~~~~~~~~~~~
foo.cc:83:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d%d%d",&e[i].u,&e[i].v,&e[i].w);
   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:85:11: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  kruskal(),scanf("%d",&q);
  ~~~~~~~~~^~~~~~~~~~~~~~~
foo.cc:106:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d%d",&x,&y);
   ~~~~~^~~~~~~~~~~~~~

自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
正在同步测试数据,请稍后
{"receive":"2020-07-28T08:19:13.483Z","handle":"2020-07-28T08:19:13.483Z","cache_start":"2020-07-28T08:19:13.490Z","read_cases":"2020-07-28T08:19:16.368Z","judge":"2020-07-28T08:19:16.369Z","done":"2020-07-28T08:19:20.250Z"}
# 状态 耗时 内存占用
#1 Accepted 2ms 6.625 MiB
#2 Accepted 3ms 6.625 MiB
#3 Accepted 5ms 6.75 MiB
#4 Accepted 6ms 6.734 MiB
#5 Accepted 7ms 6.77 MiB
#6 Accepted 5ms 6.75 MiB
#7 Accepted 22ms 7.246 MiB
#8 Accepted 20ms 7.176 MiB
#9 Accepted 20ms 7.273 MiB
#10 Accepted 20ms 7.164 MiB
#11 Accepted 21ms 7.309 MiB
#12 Accepted 21ms 7.207 MiB
#13 Accepted 536ms 10.672 MiB
#14 Accepted 296ms 10.328 MiB
#15 Accepted 379ms 10.434 MiB
#16 Accepted 379ms 10.449 MiB
#17 Accepted 479ms 10.652 MiB
#18 Accepted 301ms 10.328 MiB
#19 Accepted 324ms 10.258 MiB
#20 Accepted 311ms 10.297 MiB

信息

递交者
类型
递交
题目
P1843 货车运输
语言
C++
递交时间
2020-07-28 16:19:13
评测时间
2020-07-28 16:19:13
评测机
分数
100
总耗时
3167ms
峰值内存
10.672 MiB