The multiplication puzzle is played with a row of cards, each containing a single positive integer. During the move player takes one card out of the r ...
分类:
其他好文 时间:
2020-01-29 16:01:52
阅读次数:
70
Anton has a positive integer nn, however, it quite looks like a mess, so he wants to make it beautiful after kk swaps of digits. Let the decimal repre ...
分类:
其他好文 时间:
2020-01-29 12:32:38
阅读次数:
60
1103 Integer Factorization (30分) The K ? P factorization of a positive integer N is to write N as the sum of the P th power of K positive integers. Yo ...
分类:
其他好文 时间:
2020-01-27 19:07:20
阅读次数:
76
Consider a positive integer N written in standard notation with k+1 digits a?i?? as a?k???a?1??a?0?? with 0 for all i and a?k??>0. Then N is palindrom ...
分类:
其他好文 时间:
2020-01-27 17:31:19
阅读次数:
64
Given N integers, you are supposed to find the smallest positive integer that is NOT in the given list. Input Specification: Each input file contains ...
分类:
其他好文 时间:
2020-01-27 17:28:02
阅读次数:
71
1008 Elevator (20分) 题目: The highest building in our city has only one elevator. A request list is made up with N positive numbers. The numbers denote ...
分类:
其他好文 时间:
2020-01-26 23:53:52
阅读次数:
68
1105 Spiral Matrix (25分) This time your job is to fill a sequence of N positive integers into a spiral matrix in non-increasing order. A spiral matrix ...
分类:
其他好文 时间:
2020-01-26 20:50:27
阅读次数:
84
1104 Sum of Number Segments (20分) Given a sequence of positive numbers, a segment is defined to be a consecutive subsequence. For example, given the s ...
分类:
其他好文 时间:
2020-01-26 19:20:05
阅读次数:
96
Programming Ability Test (PAT) is organized by the College of Computer Science and Technology of Zhejiang University. Each test is supposed to run sim ...
分类:
编程语言 时间:
2020-01-26 15:55:53
阅读次数:
73
Among all the factors of a positive integer N, there may exist several consecutive numbers. For example, 630 can be factored as 3×5×6×7, where 5, 6, a ...
分类:
其他好文 时间:
2020-01-25 15:29:55
阅读次数:
87