C. K-special Tables 题目连接: http://www.codeforces.com/contest/625/problem/C Description People do many crazy things to stand out in a crowd. Some of them dance, some learn by heart rules of Russian language, some try to become an outstanding competitiv…
C. The Closest Pair Time Limit: 20 Sec Memory Limit: 256 MB 题目连接 http://codeforces.com/contest/312/problem/C Description Currently Tiny is learning Computational Geometry. When trying to solve a problem called "The Closest Pair Of Points In The Plane…
A. Black-and-White Cube time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output You are given a cube of size k × k × k, which consists of unit cubes. Two unit cubes are considered neighbouring, if…