码迷,mamicode.com
首页 >  
搜索关键字:positive    ( 2430个结果
Multiplication Puzzle
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
C - Beautiful Now
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
【PAT甲级】1103 Integer Factorization (30分)
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
PAT Advanced 1136 A Delayed Palindrome (20分)
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
PAT Advanced 1144 The Missing Number (20分)
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分)
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
PAT 甲级 1105 Spiral Matrix (25分)(螺旋矩阵,简单模拟)
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
PAT 甲级 1104 Sum of Number Segments (20分)(有坑,int *int 可能会溢出)
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
【算法学习记录-排序题】【PAT A1025】PAT Ranking
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
PAT Advanced 1096 Consecutive Factors (20分)
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
2430条   上一页 1 ... 12 13 14 15 16 ... 243 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!