torus711 のアレ

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

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

TopCoder, Single Round Match 652, Divisino 2, Level 1 : ValueOfString

問題文 http://community.topcoder.com/stat?c=problem_statement&pm=13678&rd=16316 問題概要 英小文字からなる文字列 が与えられる.また, 番目(1-based)のアルファベットに値 を割り当てる.各文字の値を などと表記する. 更に, の値を次のように定…

TopCoder, Single Round Match 652, Division 2, Level 2 : ThePermutationGameDiv2

問題文 http://community.topcoder.com/stat?c=problem_statement&pm=13679&rd=16316[ 問題概要 整数 が与えられる. の順列をランダムに 1 つ選び とする.また,関数 を次のように定義する. ; どの順列が として選ばれていても となる の内,最小のものを…

TopCoder, Single Round Match 652, Division 1, Level 1 : ThePermutationGame

問題文 http://community.topcoder.com/stat?c=problem_statement&pm=13229&rd=16316 問題概要 Division 2, Level 2 とほぼ同一.ただし,こちらは答えを として, を求める.