摘要:
Look-and-say sequence is a sequence of integers as the following: D, D1, D111, D113, D11231, D112213111, ... where D is in [0, 9] except 1. The (n+1)s 阅读全文
posted @ 2018-06-10 23:38
赖兴宇
阅读(150)
评论(0)
推荐(0)
摘要:
After each PAT, the PAT Center will announce the ranking of institutions based on their students' performances. Now you are asked to generate the rank 阅读全文
posted @ 2018-06-10 21:47
赖兴宇
阅读(249)
评论(0)
推荐(0)
摘要:
Given a list of N student records with name, ID and grade. You are supposed to sort the records with respect to the grade in non-increasing order, and 阅读全文
posted @ 2018-06-10 18:05
赖兴宇
阅读(126)
评论(0)
推荐(0)
摘要:
This time you are asked to tell the difference between the lowest grade of all the male students and the highest grade of all the female students. Inp 阅读全文
posted @ 2018-06-10 17:07
赖兴宇
阅读(163)
评论(0)
推荐(0)
摘要:
A linked list consists of a series of structures, which are not necessarily adjacent in memory. We assume that each structure contains an integer key 阅读全文
posted @ 2018-06-10 16:54
赖兴宇
阅读(135)
评论(0)
推荐(0)
摘要:
Excel can sort records according to any column. Now you are supposed to imitate this function. Input Each input file contains one test case. For each 阅读全文
posted @ 2018-06-10 16:25
赖兴宇
阅读(154)
评论(0)
推荐(0)

浙公网安备 33010602011771号