摘要: Simon has a prime number x and an array of non-negative integers a1, a2, ..., an.Simon loves fractions very much. Today he wrote out number on a piec... 阅读全文
posted @ 2017-03-13 21:38 xushukui 阅读(166) 评论(0) 推荐(0) 编辑
摘要: A triangle field is numbered with successive integers in the way shown on the picture below. The traveller needs to go from the cell with number M to ... 阅读全文
posted @ 2017-03-13 16:00 xushukui 阅读(137) 评论(0) 推荐(0) 编辑
摘要: Mr. Santa asks all the great programmers of the world to solve a trivial problem. He gives them an integer m and asks for the number of positive integ... 阅读全文
posted @ 2017-03-13 14:57 xushukui 阅读(190) 评论(0) 推荐(0) 编辑