Loading

摘要: 1. 题目 To prepare for PAT, the judge sometimes has to generate random passwords for the users. The problem is that there are always some confusing pass 阅读全文
posted @ 2021-10-29 12:48 August_丶 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 1. 题目 Behind the scenes in the computer's memory, color is always talked about as a series of 24 bits of information for each pixel. In an image, the 阅读全文
posted @ 2021-10-29 12:46 August_丶 阅读(27) 评论(0) 推荐(0) 编辑
摘要: 1. 题目 Given two sets of integers, the similarity of the sets is defined to be Nc/Nt×100%, where Nc is the number of distinct common numbers shared by 阅读全文
posted @ 2021-10-29 12:46 August_丶 阅读(41) 评论(0) 推荐(0) 编辑
摘要: 1. 题目 Zhejiang University has 40,000 students and provides 2,500 courses. Now given the registered course list of each student, you are supposed to ou 阅读全文
posted @ 2021-10-29 12:45 August_丶 阅读(39) 评论(0) 推荐(0) 编辑
摘要: 1. 题目 Zhejiang University has 40000 students and provides 2500 courses. Now given the student name lists of all the courses, you are supposed to outpu 阅读全文
posted @ 2021-10-29 12:44 August_丶 阅读(40) 评论(0) 推荐(0) 编辑
摘要: 1. 题目 A Digital Library contains millions of books, stored according to their titles, authors, key words of their abstracts, publishers, and published 阅读全文
posted @ 2021-10-29 12:43 August_丶 阅读(38) 评论(0) 推荐(0) 编辑
摘要: 1. 题目 John got a full mark on PAT. He was so happy that he decided to hold a raffle(抽奖) for his followers on Weibo -- that is, he would select winners 阅读全文
posted @ 2021-10-28 22:26 August_丶 阅读(41) 评论(0) 推荐(0) 编辑
摘要: 1. 题目 Given three integers A, B and C in \((−2^{63},2^{63})\), you are supposed to tell whether A+B>C. Input Specification: The first line of the inpu 阅读全文
posted @ 2021-10-28 22:24 August_丶 阅读(34) 评论(0) 推荐(0) 编辑
摘要: 1. 题目 The task is really simple: given N exits on a highway which forms a simple cycle, you are supposed to tell the shortest distance between any pai 阅读全文
posted @ 2021-10-28 22:23 August_丶 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 1. 题目 Shuffling is a procedure used to randomize a deck of playing cards. Because standard shuffling techniques are seen as weak, and in order to avoi 阅读全文
posted @ 2021-10-28 22:22 August_丶 阅读(25) 评论(0) 推荐(0) 编辑