随笔分类 -  模拟

摘要:1009 Product of Polynomials This time, you are supposed to find A×B where A and B are two polynomials. Input Specification: Each input file contains o 阅读全文
posted @ 2019-04-17 21:00 suvvm 阅读(382) 评论(0) 推荐(0)
摘要:Elevator The highest building in our city has only one elevator. A request list is made up with Npositive numbers. The numbers denote at which floors 阅读全文
posted @ 2019-04-08 17:59 suvvm 阅读(312) 评论(0) 推荐(0)
摘要:1001 A+B Format Calculate a+b and output the sum in standard format -- that is, the digits must be separated into groups of three by commas (unless th 阅读全文
posted @ 2019-03-28 19:24 suvvm 阅读(430) 评论(0) 推荐(0)
摘要:Colors in Mars 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-dig 阅读全文
posted @ 2019-01-26 15:26 suvvm 阅读(237) 评论(0) 推荐(0)
摘要:Palindromic Number A number that will be the same when it is written forwards or backwards is known as a Palindromic Number. For example, 1234321 is a 阅读全文
posted @ 2019-01-23 21:39 suvvm 阅读(325) 评论(0) 推荐(0)
摘要:Have Fun with Numbers Notice that the number 123456789 is a 9-digit number consisting exactly the numbers from 1 to 9, with no duplication. Double it 阅读全文
posted @ 2019-01-23 20:28 suvvm 阅读(443) 评论(0) 推荐(0)
摘要:Digital Library A Digital Library contains millions of books, stored according to their titles, authors, key words of their abstracts, publishers, and 阅读全文
posted @ 2019-01-22 21:43 suvvm 阅读(376) 评论(0) 推荐(0)
摘要:General Palindromic Number A number that will be the same when it is written forwards or backwards is known as a Palindromic Number. For example, 1234 阅读全文
posted @ 2019-01-01 20:05 suvvm 阅读(184) 评论(0) 推荐(0)
摘要:Phone Bills A long-distance telephone company charges its customers by the following rules: Making a long-distance call costs a certain amount per min 阅读全文
posted @ 2018-12-20 19:33 suvvm 阅读(446) 评论(0) 推荐(0)
摘要:Reversible Primes A reversible prime in any number system is a prime whose "reverse" in that number system is also a prime. For example in the decimal 阅读全文
posted @ 2018-12-18 16:47 suvvm 阅读(383) 评论(0) 推荐(0)
摘要:Waiting in Line Suppose a bank has N windows open for service. There is a yellow line in front of the windows which devides the waiting area into two 阅读全文
posted @ 2018-12-17 21:47 suvvm 阅读(695) 评论(0) 推荐(0)
摘要:Give Me the Number Numbers in English are written down in the following way (only numbers less than 109are considered). Number abc,def,ghi is written 阅读全文
posted @ 2018-11-28 18:58 suvvm 阅读(300) 评论(0) 推荐(0)