PAT
文章平均质量分 51
IQOverflow
这个作者很懒,什么都没留下…
展开
-
PAT1007 最大子数组问题
问题 1007. Maximum Subsequence Sum (25) Given a sequence of K integers { N1, N2, ..., NK }. A continuous subsequence is defined to be { Ni, Ni+1, ..., Nj } where 1 <= i <= j <= K. The Maxim...原创 2018-03-16 09:36:42 · 436 阅读 · 0 评论 -
PAT1006. Sign In and Sign Out (25)
问题 PAT1006. Sign In and Sign Out (25) 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. Given ...原创 2018-03-16 11:12:38 · 197 阅读 · 0 评论 -
PAT1005. Spell It Right (20)
题目 PAT1005. Spell It Right (20) 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 Specification: Each in...原创 2018-03-16 15:43:25 · 143 阅读 · 0 评论 -
PAT1004. Counting Leaves (30) dfs和bfs
题目 PAT1004. Counting Leaves (30) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue A family hierarchy is usually presented by a pedigree tree. Your job is to count those family m...原创 2018-03-16 17:06:31 · 178 阅读 · 0 评论 -
PAT1003. Emergency (25) Dijkstra
题目 PAT1003. Emergency (25) Dijkstra 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue As an emergency rescue team leader of a city, you are given a special map of your country. T...原创 2018-03-17 11:01:06 · 254 阅读 · 1 评论