06 2017 档案
Codeforces 166E. Tetrahedron
摘要:You are given a tetrahedron. Let's mark its vertices with letters A, B, C and D correspondingly. An ant is standing in the vertex D of the tetrahedron 阅读全文
posted @ 2017-06-23 17:46 Crutain 阅读(247) 评论(0) 推荐(0)
Codeforce 687A. NP-Hard Problem
摘要:Recently, Pari and Arya did some research about NP-Hard problems and they found the minimum vertex cover problem very interesting. Suppose the graph G 阅读全文
posted @ 2017-06-15 12:51 Crutain 阅读(190) 评论(0) 推荐(0)
Codeforces 570C. Replacement
摘要:Daniel has a string s, consisting of lowercase English letters and period signs (characters '.'). Let's define the operation of replacement as the fol 阅读全文
posted @ 2017-06-14 10:44 Crutain 阅读(244) 评论(0) 推荐(0)
Codeforces 554B. Ohana Cleans Up
摘要:output standard output output standard output output Ohana Matsumae is trying to clean a room, which is divided up into an n by n grid of squares. Eac 阅读全文
posted @ 2017-06-05 20:37 Crutain 阅读(234) 评论(0) 推荐(0)
Codeforces 482A. Diverse Permutation
摘要:Permutation p is an ordered set of integers p1, p2, ..., pn, consisting of n distinct positive integers not larger than n. We'll denote as n the lengt 阅读全文
posted @ 2017-06-01 11:03 Crutain 阅读(229) 评论(0) 推荐(0)