摘要: Winner The winner of the card game popular in Berland "Berlogging" is determined according to the following rules. If at the end of the game there is 阅读全文
posted @ 2016-08-19 15:21 stort 阅读(202) 评论(0) 推荐(0) 编辑
摘要: Ancient Berland Circus Nowadays all circuses in Berland have a round arena with diameter 13 meters, but in the past things were different. In Ancient 阅读全文
posted @ 2016-08-19 14:24 stort 阅读(379) 评论(0) 推荐(0) 编辑
摘要: Bear and Finding Criminals There are n cities in Bearland, numbered 1 through n. Cities are arranged in one long row. The distance between cities i an 阅读全文
posted @ 2016-08-19 11:01 stort 阅读(219) 评论(0) 推荐(0) 编辑
摘要: Vanya and Label While walking down the street Vanya saw a label "Hide&Seek". Because he is a programmer, he used & as a bitwise AND for these two word 阅读全文
posted @ 2016-08-19 10:50 stort 阅读(366) 评论(0) 推荐(0) 编辑
摘要: A. Theatre Square time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Theatre Square in the c 阅读全文
posted @ 2016-08-19 09:33 stort 阅读(224) 评论(0) 推荐(0) 编辑
摘要: Vanya and Food Processor Vanya smashes potato in a vertical food processor. At each moment of time the height of the potato in the processor doesn't e 阅读全文
posted @ 2016-08-19 09:32 stort 阅读(264) 评论(0) 推荐(0) 编辑
摘要: C. Bear and Prime 100 This is an interactive problem. In the output section below you will see the information about flushing the output. Bear Limak t 阅读全文
posted @ 2016-08-19 09:14 stort 阅读(136) 评论(0) 推荐(0) 编辑