摘要:
126. Boxestime limit per test: 0.25 sec.memory limit per test: 4096 KBThere are two boxes. There are A balls in the first box, and B balls in the seco... 阅读全文
摘要:
121. Bridges paintingtime limit per test: 0.25 sec.memory limit per test: 4096 KBNew Berland consists of N (1£N£100) islands, some of them are connect... 阅读全文
摘要:
110. Dungeontime limit per test: 0.25 sec.memory limit per test: 4096 KBThe mission of space explorers found on planet M the vast dungeon. One of the ... 阅读全文
摘要:
123. The sumtime limit per test: 0.25 sec.memory limit per test: 4096 KBThe Fibonacci sequence of numbers is known: F1= 1; F2= 1; Fn+1= Fn+ Fn-1, for ... 阅读全文
摘要:
120. Archipelagotime limit per test: 0.25 sec.memory limit per test: 4096 KBArchipelago Ber-Islands consists ofNislands that are vertices of equiangul... 阅读全文
摘要:
119. Magic Pairstime limit per test: 0.5 sec.memory limit per test: 4096 KB“Prove that for any integerXandYif5X+4Yis divided by23than3X+7Yis divided b... 阅读全文
摘要:
118. Digital Roottime limit per test: 0.25 sec.memory limit per test: 4096 KBLetf(n)be a sum of digits for positive integern. Iff(n)is one-digit numbe... 阅读全文
摘要:
117. Countingtime limit per test: 0.25 sec.memory limit per test: 4096 KBFind amount of numbers for given sequence of integer numbers such that after ... 阅读全文
摘要:
116. Index of super-primetime limit per test: 0.25 sec.memory limit per test: 4096 KBLetP1, P2, … ,PN, …be a sequence of prime numbers. Super-prime nu... 阅读全文
摘要:
115. Calendartime limit per test: 0.25 sec.memory limit per test: 4096 KBFirst year of new millenium is gone away. In commemoration of it write a prog... 阅读全文