2014-02-07から1日間の記事一覧
はい。 http://codeforces.com/contest/50 A. Domino piling greedy,math ざっくりと大意 ・MNの面積の板から21のドミノ用の板が何個作れるか? 方針のようなもの ・M*Nの面積を2で割る。 #!/usr/bin/env python # -*- coding: UTF-8 -*- (m,n)=map(int, raw…
はい。 http://codeforces.com/contest/50 A. Domino piling greedy,math ざっくりと大意 ・MNの面積の板から21のドミノ用の板が何個作れるか? 方針のようなもの ・M*Nの面積を2で割る。 #!/usr/bin/env python # -*- coding: UTF-8 -*- (m,n)=map(int, raw…