This are some solutions for PAT A
by iofu728.
The idea of the problem is in my blog: https://wyydsb.xin
completion:109/151
Recent article:
- PAT A 1026:Table Tennis (30). 排队,模拟,sort
- PAT A 1068: Find More Coins (30) 01背包
- PAT A 1033: To Fill or Not to Fill (25). 贪心,模拟
- PAT A 1018:Public Bike Management (30). Dijkstra + DFS
- 排队模拟问题
- PAT A 1014: Waiting in Line (30). 排队,模拟,sort,queue
- ANOJ 1024: C – 宇宙树(25) DFS
- PAT A 1057: Stack (30) 二分查找,二维哈希,栈模拟
- PAT A 1021: Deepest Root (25). 无环判断,树的深度,最深源点
- PAT A 1087: All Roads Lead to Rome (30) Dijkstra DFS
- ANOJ 1023: B – 缺失数(25) bitMap
- PAT A 1079: Total Sales of Supply Chain (25) BFS DFS
- PAT A 1076: Forwards on Weibo (25) 图,BFS
- PAT A 1075: PAT Judge (25) sort
- PAT A 1072: Gas Station (30) Dijkstra
- PAT A 1066: Root of AVL Tree (25) AVL,建树
- PAT A 1044: Shopping in Mars (25) dp
- PAT A 1040: Longest Symmetric String (25) 动态规划dp
- PAT A 1034: Head of a Gang (30) DFS,map
- PAT A 1017: Queueing at Bank (25). 排队,模拟
- PAT A 1022: Digital Library (30). map,引用传参&
- ANOJ 1022: A – 库洛值(20) hashMap
- PAT A 1063: Set Similarity (25) set
- PAT A 1015: Reversible Primes (20). 素数,进制转换
updated 10/7/2018