1 2 3 4 5 ··· 12 下一页
摘要: 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 system 73 is a re 阅读全文
posted @ 2023-04-18 21:29 爱吃虾滑 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 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 parts. The rules 阅读全文
posted @ 2023-04-14 21:05 爱吃虾滑 阅读(11) 评论(0) 推荐(0) 编辑
摘要: It is vitally important to have all the cities connected by highways in a war. If a city is occupied by the enemy, all the highways from/toward that c 阅读全文
posted @ 2023-03-20 21:15 爱吃虾滑 阅读(13) 评论(0) 推荐(0) 编辑
摘要: To evaluate the performance of our first year CS majored students, we consider their grades of three courses only: C - C Programming Language, M - Mat 阅读全文
posted @ 2023-03-16 21:24 爱吃虾滑 阅读(11) 评论(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 @ 2023-03-07 19:57 爱吃虾滑 阅读(14) 评论(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 occu 阅读全文
posted @ 2023-03-05 17:40 爱吃虾滑 阅读(14) 评论(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 @ 2023-03-02 21:11 爱吃虾滑 阅读(7) 评论(0) 推荐(0) 编辑
摘要: Given a sequence of K integers { N​1​​, N​2​​, ..., N​K​​ }. A continuous subsequence is defined to be { N​i​​, N​i+1​​, ..., N​j​​ } where 1≤i≤j≤K. T 阅读全文
posted @ 2023-02-28 21:25 爱吃虾滑 阅读(13) 评论(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 @ 2023-02-27 17:51 爱吃虾滑 阅读(11) 评论(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 @ 2023-02-23 20:27 爱吃虾滑 阅读(13) 评论(0) 推荐(0) 编辑
1 2 3 4 5 ··· 12 下一页