torus711 のアレ

主に競技プログラミングの問題について書きます.PC 以外だと数式が表示されないかもしれないです

2015-02-03から1日間の記事一覧

TopCoder, Single Round Match 648, Division 2, Level 1 : KitayutaMart2

問題文 http://community.topcoder.com/stat?c=problem_statement&pm=13650&rd=16312 問題概要 ある店ではりんごを売っている.このりんごの値段は,買う個数を増やす毎に,1 つ目は ,2 つ目は ,3 つ目は というように値段が上がっていく.一般的に書くと…

TopCoder, Single Round Match 648, Division 2, Level 2 : Fragile2

問題文 http://community.topcoder.com/stat?c=problem_statement&pm=13648&rd=16312 問題概要 頂点の(連結とは限らない)単純無向グラフが与えられる.グラフは の文字の行列 として与えられる. が 'Y' のとき,2 頂点 を結ぶ辺が存在することを表し,'N'…

TopCoder, Single Round Match 648, Division 1, Level 1 : AB

問題文 http://community.topcoder.com/stat?c=problem_statement&pm=13642&rd=16312 問題概要 二つの正整数 が与えられる.次の条件を満たす文字列 を 1 つ求めよ.存在しない場合は空文字列で示せ. は 文字からなり, を構成する各文字は 'A' または 'B' …