PAT--Advanced level
言曦
菜鸟一枚。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
1029. Median (25)
1029. Median (25) 时间限制 1000 ms 内存限制 65536 KB 代码长度限制 100 KB 判断程序 Standard (来自 小小) 题目描述 Given an increasing sequence S of N integers, the median is the number at the middle position. For example, t...原创 2018-11-28 22:04:47 · 131 阅读 · 0 评论 -
List Grades (25)
List Grades (25) 时间限制 1000 ms 内存限制 65536 KB 代码长度限制 100 KB 判断程序 Standard (来自 小小) 题目描述 Given a list of N student records with name, ID and grade. You are supposed to sort the records with respect t...原创 2018-11-28 22:34:26 · 159 阅读 · 0 评论 -
List Sorting (25)
List Sorting (25) 时间限制 1000 ms 内存限制 65536 KB 代码长度限制 100 KB 判断程序 Standard (来自 小小) 题目描述 Excel can sort records according to any column. Now you are supposed to imitate this function. 输入描述: Ea...原创 2018-11-29 22:17:52 · 195 阅读 · 0 评论 -
The Dominant Color (20)
The Dominant Color (20) 时间限制 1000 ms 内存限制 65536 KB 代码长度限制 100 KB 判断程序 Standard (来自 小小) 题目描述 Behind the scenes in the computer's memory, color is always talked about as a series of 24 bits of infor...原创 2018-11-27 22:31:00 · 132 阅读 · 0 评论 -
Spell It Right (20)
Spell It Right (20) 时间限制 1000 ms 内存限制 32768 KB 代码长度限制 100 KB 判断程序 Standard (来自 小小) 题目描述 Given a non-negative integer N, your task is to compute the sum of all the digits of N, and output every dig...原创 2018-12-27 22:22:58 · 221 阅读 · 0 评论 -
A+B Format (20)
A+B Format (20) 时间限制 1000 ms 内存限制 32768 KB 代码长度限制 100 KB 判断程序 Standard (来自 小小) 题目描述 Calculate a + b and output the sum in standard format -- that is, the digits must be separated into groups of th...原创 2018-12-23 11:20:46 · 215 阅读 · 0 评论 -
Elevator (20)
Elevator (20) 时间限制 1000 ms 内存限制 32768 KB 代码长度限制 100 KB 判断程序 Standard (来自 小小) 题目描述 The highest building in our city has only one elevator. A request list is made up with N positive numbers. The num...原创 2018-12-28 22:08:30 · 266 阅读 · 0 评论
分享