摘要: 题目 Given a pair of positive integers, for example, 6 and 110, can this equation 6 = 110 be true? The answer is yes, if 6 is a decimal number and 110 i 阅读全文
posted @ 2020-05-18 23:23 无代码,非程序 阅读(159) 评论(0) 推荐(0)
摘要: 题目 This time, you are supposed to find A×B where A and B are two polynomials. Input Specification: Each input file contains one test case. Each case o 阅读全文
posted @ 2020-05-18 22:35 无代码,非程序 阅读(122) 评论(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 e 阅读全文
posted @ 2020-05-18 21:45 无代码,非程序 阅读(125) 评论(0) 推荐(0)
摘要: 题目 Given a sequence of K integers { N​1​​ , N​2​​ , ..., N​K​​ }. A continuous subsequence is defined to be { Ni​​ , N​i+1​​ , ..., N​j​​ } where 1≤i≤ 阅读全文
posted @ 2020-05-18 21:31 无代码,非程序 阅读(130) 评论(0) 推荐(0)
摘要: 题目 Excel can sort records according to any column. Now you are supposed to imitate this function. Input Specification: Each input file contains one te 阅读全文
posted @ 2020-05-18 20:26 无代码,非程序 阅读(176) 评论(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 d 阅读全文
posted @ 2020-05-18 18:27 无代码,非程序 阅读(118) 评论(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 Specifi 阅读全文
posted @ 2020-05-18 18:15 无代码,非程序 阅读(146) 评论(0) 推荐(0)
摘要: 题目 A family hierarchy is usually presented by a pedigree tree. Your job is to count those family members who have no child. Input Specification: Each 阅读全文
posted @ 2020-05-18 18:03 无代码,非程序 阅读(91) 评论(0) 推荐(0)
摘要: 题目 As an emergency rescue team leader of a city, you are given a special map of your country. The map shows several scattered cities connected by some 阅读全文
posted @ 2020-05-18 17:28 无代码,非程序 阅读(136) 评论(0) 推荐(0)
摘要: 题目 This time, you are supposed to find A+B where A and B are two polynomials. Input Specification: Each input file contains one test case. Each case o 阅读全文
posted @ 2020-05-18 15:59 无代码,非程序 阅读(139) 评论(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 @ 2020-05-18 14:33 无代码,非程序 阅读(92) 评论(0) 推荐(0)
摘要: 题目 People in Mars represent the colors in their computers in a similar way as the Earth people. That is, a color is represented by a 6 digit number, w 阅读全文
posted @ 2020-05-18 13:48 无代码,非程序 阅读(186) 评论(0) 推荐(0)