C. Constellation time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Cat Noku has obtained a map of the night sky. On this map, he found a constellation with n stars numbered from 1 to n. For…
题 Cat Noku has obtained a map of the night sky. On this map, he found a constellation with n stars numbered from 1to n. For each i, the i-th star is located at coordinates (xi, yi). No two stars are located at the same position. In the evening Noku i…
C. Freelancer's Dreams Time Limit: 20 Sec Memory Limit: 256 MB 题目连接 http://www.codeforces.com/contest/605/problem/C Description Mikhail the Freelancer dreams of two things: to become a cool programmer and to buy a flat in Moscow. To become a cool pro…
A. Peter and Snow Blower 题目连接: http://www.codeforces.com/contest/613/problem/A Description Peter got a new snow blower as a New Year present. Of course, Peter decided to try it immediately. After reading the instructions he realized that it does not…