06 2021 档案

摘要:Zhejiang University has 40,000 students and provides 2,500 courses. Now given the registered course list of each student, you are supposed to output t 阅读全文
posted @ 2021-06-30 22:49 XA科研 阅读(32) 评论(0) 推荐(0) 编辑
摘要:Given two sets of integers, the similarity of the sets is defined to be /, where N​c​​ is the number of distinct common numbers shared by the two sets 阅读全文
posted @ 2021-06-28 22:55 XA科研 阅读(30) 评论(0) 推荐(0) 编辑
摘要:Zhejiang University has 40000 students and provides 2500 courses. Now given the student name lists of all the courses, you are supposed to output the 阅读全文
posted @ 2021-06-27 22:50 XA科研 阅读(43) 评论(0) 推荐(0) 编辑
摘要: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 color 阅读全文
posted @ 2021-06-26 22:06 XA科研 阅读(33) 评论(0) 推荐(0) 编辑
摘要:Given three integers A, B and C in [−], you are supposed to tell whether A+B>C. Input Specification: The first line of the input gives the positive nu 阅读全文
posted @ 2021-06-25 23:12 XA科研 阅读(32) 评论(0) 推荐(0) 编辑
摘要: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 pair of e 阅读全文
posted @ 2021-06-24 23:01 XA科研 阅读(28) 评论(0) 推荐(0) 编辑
摘要: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 from 阅读全文
posted @ 2021-06-23 23:00 XA科研 阅读(41) 评论(0) 推荐(0) 编辑
摘要:With the 2010 FIFA World Cup running, football fans the world over were becoming increasingly excited as the best players from the best teams doing ba 阅读全文
posted @ 2021-06-20 22:32 XA科研 阅读(39) 评论(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 @ 2021-06-19 22:54 XA科研 阅读(52) 评论(0) 推荐(0) 编辑
摘要:At the beginning of every day, the first person who signs in the computer room will unlock the door, and the last one who signs out will lock the door 阅读全文
posted @ 2021-06-19 22:23 XA科研 阅读(36) 评论(0) 推荐(0) 编辑
摘要:The highest building in our city has only one elevator. A request list is made up with N positive numbers. The numbers denote at which floors the elev 阅读全文
posted @ 2021-06-19 21:59 XA科研 阅读(50) 评论(0) 推荐(0) 编辑
摘要:Given a non-negative integer N, your task is to compute the sum of all the digits of N, and output every digit of the sum in English. Input Specificat 阅读全文
posted @ 2021-06-18 22:35 XA科研 阅读(27) 评论(0) 推荐(0) 编辑
摘要:string新技巧: int a, b; cin >> a >> b; string s = to_string(a + b); 阅读全文
posted @ 2021-06-17 23:02 XA科研 阅读(30) 评论(0) 推荐(0) 编辑
摘要:Calculate a+b and output the sum in standard format -- that is, the digits must be separated into groups of three by commas (unless there are less tha 阅读全文
posted @ 2021-06-17 22:53 XA科研 阅读(37) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示