读书人

Codeforces #199前3题

发布时间: 2013-10-08 16:46:23 作者: rapoo

Codeforces #199前三题

先写下总结,当时第三题被黑了是好事情。自己当时想到了那种三个圆相切的局面,但后来又被自己给否定了,应该多画画图就出来了,不应该那样老是空想。而且需要搞个圆规了!


A. Xenia and Divisorstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard output

Xenia the mathematician has a sequence consisting of n (n is divisible by 3) positive integers, each of them is at most 7. She wants to split the sequence into groups of three so that for each group of three a,?b,?c the following conditions held:

读书人网 >编程

热点推荐