- 博客(11)
- 收藏
- 关注
原创 Magic Coupon (25)
Magic Coupon (25) 时间限制 1000 ms 内存限制 65536 KB 代码长度限制 100 KB 判断程序 Standard (来自 小小) 题目描述 The magic shop in Mars is offering some magic coupons. Each coupon has an integer N printed on it, meaning tha...
2018-05-18 11:09:03 203
原创 Median (25)
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, the medi...
2018-05-17 23:21:34 186
原创 Boys vs Girls (25)
Boys vs Girls (25) 时间限制 1000 ms 内存限制 65536 KB 代码长度限制 100 KB 判断程序 Standard (来自 小小) 题目描述 This time you are asked to tell the difference between the lowest grade of all the male students and the highe...
2018-05-15 23:36:33 368
原创 Password (20)
Password (20) 时间限制 1000 ms 内存限制 65536 KB 代码长度限制 100 KB 判断程序 Standard (来自 小小) 题目描述 To prepare for PAT, the judge sometimes has to generate random passwords for the users. The problem is that there ...
2018-05-15 23:32:10 249
原创 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. 输入描述: Each in...
2018-05-14 23:35:18 222
原创 Sign In and Sign Out (25)
Sign In and Sign Out (25) 时间限制 1000 ms 内存限制 32768 KB 代码长度限制 100 KB 判断程序 Standard (来自 小小) 题目描述 At the beginning of every day, the first person who signs in the computer room will unlock the door, an...
2018-05-13 23:07:18 193
原创 Maximum Subsequence Sum (25)
Maximum Subsequence Sum (25) 时间限制 1000 ms 内存限制 32768 KB 代码长度限制 100 KB 判断程序 Standard (来自 小小) 题目描述 Given a sequence of K integers { N1, N2, …, NK }. A continuous subsequence is defined to be { Ni, N...
2018-05-12 23:07:40 201
原创 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 numb...
2018-05-10 23:04:49 129
原创 A+B for Polynomials (25)
A+B for Polynomials (25) 时间限制 1000 ms 内存限制 32768 KB 代码长度限制 100 KB 判断程序 Standard (来自 小小) 题目描述 This time, you are supposed to find A+B where A and B are two polynomials. 输入描述: Each input file conta...
2018-05-03 23:03:25 307
原创 Colors in Mars (20)
Colors in Mars (20) 时间限制 1000 ms 内存限制 65536 KB 代码长度限制 100 KB 判断程序 Standard (来自 小小) 题目描述 People in Mars represent the colors in their computers in a similar way as the Earth people. That is, a colo...
2018-05-02 22:30:15 146
原创 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 digi...
2018-05-01 23:32:11 129
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人