摘要:
Magic Odd Square 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 o 阅读全文
摘要:
There are three piles of beans. TT and DD pick any number of beans from any pile or the same number from any two piles by turns. Who get the last bean 阅读全文
摘要:
Balanced Numbers Balanced numbers have been used by mathematicians for centuries. A positive integer is considered a balanced number if: 1) Every even 阅读全文
摘要:
B-number A wqb-number, or B-number for short, is a non-negative integer whose decimal form contains the sub- string "13" and can be divided by 13. For 阅读全文
摘要:
Play Game Alice and Bob are playing a game. There are two piles of cards. There are N cards in each pile, and each card has a score. They take turns t 阅读全文