摘要:
Description Find an n × n matrix with different numbers from 1 to n2, so the sum in each row, column and both main diagonals are odd. Input The only l 阅读全文
posted @ 2016-08-24 11:01
樱花落舞
阅读(216)
评论(0)
推荐(0)
摘要:
Description You are given n points on a line with their coordinates xi. Find the point x so the sum of distances to the given points is minimal. Descr 阅读全文
posted @ 2016-08-24 10:53
樱花落舞
阅读(211)
评论(0)
推荐(0)
摘要:
Description he only king stands on the standard chess board. You are given his position in format "cd", where c is the column from 'a' to 'h' and d is 阅读全文
posted @ 2016-08-24 10:23
樱花落舞
阅读(214)
评论(0)
推荐(0)

浙公网安备 33010602011771号