君はまるで砂漠に咲く、一輪の花。

僕はその花に引き寄せられる蝶。

number theory

Codeforces Round #125 (Div.2)

はい。 http://codeforces.com/contest/199 A. Hexadecimal's theorem brute force,constructive algorithms,implementation,number theory ざっくりと大意 ・整数nが与えられるのでフィボナッチ数に含まれているいずれかの数を3つ使って和がnになるようなa,…

Codeforces Beta Round #91 (Div.2 Div.1)

はい。 http://codeforces.com/contest/122 A. Lucky Division brute force,number theory ざっくりと大意 ・4,7のみで構成された数で割り切れるか 方針のようなもの ・全部試す

Codeforces Beta Round #62

はい。 http://codeforces.com/contest/68 A. Irrational problem implementation,number theory ざっくりと大意 ・p1,p2,p3,p4を4!の重複ありの組合せで式を作る。 ・x=(((x%p1)%p2)%p3)%p4 の式が成立するのがa<=x<=bの範囲で幾つあるか? 方針のようなもの…

Codeforces Beta Round #55 (Div.2)

はい。 http://codeforces.com/contest/59 A. Word implementation,strings ざっくりと大意 ・小文字か大文字を多い方に合わせて書き換え。同数なら小文字で。

Codeforces Beta Round #26 (Codeforces format)

はい。 http://codeforces.com/contest/26 A. Almost Prime number theory ざっくりと大意 ・約数に素数が厳密に2つ含まれている数をカウントする? ・例えば6なら2,3が、18も同様に2,3。4は2だけ、9は3だけ。 方針のようなもの ・全部さがす。

Codeforces Beta Round #17

はい。 A. Noldbach problem brute force,math,number theory ざっくりと大意 ・nまでの数の中に2つ並びの素数と1の和が素数になるケースがあるかどうか? ・そのあてはまるケースがk個以上あるかどうか? 方針のようなもの ・素数の計算の仕方が知らない面…

Codeforces Beta Round #16 (Div. 2 Only)

はい。最終更新日:2014/05/08 http://codeforces.com/contest/16 A. Flag implementation ざっくりと大意 ・なんか新しい決まり事で国旗が横縞の模様でないといけないことになるらしい ・横列一直線の中に違う模様が混ざるのと、二列同じ模様が続くのはNO 方…