[問題] ACM 10608
題目:
http://uva.onlinejudge.org/external/106/10608.html
code:http://ideone.com/lSFti
就單純的union find
我是用find with path compression
但一直WA,請問這題有要注意什麼嗎?謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 203.77.45.92
→
06/02 10:15, , 1F
06/02 10:15, 1F
C_and_CPP 近期熱門文章
PTT數位生活區 即時熱門文章