0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

061_061_B-CountingRoads

  • 大前提として問題の設定を紙とペンで表現する。(正直問題文を読んだだけではイマイチ設定が理解できなかった)
  • 都市用と道用の配列を用意する。
  • 道の本数文for文を回してa,bに都市番号が入ってくることが理解できれば添え字の性質に注意して[a - 1]と[b - 1]に対してインクリメント
0
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?