• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






tccbj

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 22 下一页

2019年2月17日

PAT A1019 General Palindromic Number (20 分)——回文,进制转换
摘要: 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 palindromic number 阅读全文
posted @ 2019-02-17 15:38 tccbj 阅读(312) 评论(0) 推荐(0)
 
PAT A1018 Public Bike Management (30 分)——最小路径,溯源,二标尺,DFS
摘要: There is a public bike service in Hangzhou City which provides great convenience to the tourists from all over the world. One may rent a bike at any s 阅读全文
posted @ 2019-02-17 15:06 tccbj 阅读(212) 评论(0) 推荐(0)
 

2019年2月16日

PAT A1017 Queueing at Bank (25 分)——队列
摘要: Suppose a bank has K windows open for service. There is a yellow line in front of the windows which devides the waiting area into two parts. All the c 阅读全文
posted @ 2019-02-16 16:14 tccbj 阅读(283) 评论(0) 推荐(0)
 
PAT A1016 Phone Bills (25 分)——排序,时序
摘要: A long-distance telephone company charges its customers by the following rules: Making a long-distance call costs a certain amount per minute, dependi 阅读全文
posted @ 2019-02-16 14:42 tccbj 阅读(198) 评论(0) 推荐(0)
 

2019年2月15日

PAT A1015 Reversible Primes (20 分)——进制转换,质数
摘要: 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 @ 2019-02-15 18:47 tccbj 阅读(194) 评论(0) 推荐(0)
 
PAT A1014 Waiting in Line (30 分)——队列
摘要: 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 @ 2019-02-15 17:01 tccbj 阅读(262) 评论(0) 推荐(0)
 
PAT A1013 Battle Over Cities (25 分)——图遍历,联通块个数
摘要: 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 @ 2019-02-15 12:56 tccbj 阅读(267) 评论(0) 推荐(0)
 

2019年2月14日

PAT A1012 The Best Rank (25 分)——多次排序,排名
摘要: 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 @ 2019-02-14 16:09 tccbj 阅读(184) 评论(0) 推荐(0)
 

2019年2月13日

PAT A1010 Radix (25 分)——进制转换,二分法
摘要: 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 is a 阅读全文
posted @ 2019-02-13 20:49 tccbj 阅读(489) 评论(0) 推荐(0)
 
PAT A1009 Product of Polynomials (25 分)——浮点,结构体数组
摘要: 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 @ 2019-02-13 17:59 tccbj 阅读(232) 评论(0) 推荐(0)
 
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 22 下一页