摘要: Eva would like to make a string of beads with her favorite colors so she went to a small shop to buy some beads. There were many colorful strings of b 阅读全文
posted @ 2020-05-18 14:12 SteveYu 阅读(219) 评论(1) 推荐(1) 编辑
摘要: The string APPAPT contains two PAT's as substrings. The first one is formed by the 2nd, the 4th, and the 6th characters, and the second one is formed 阅读全文
posted @ 2020-05-18 14:11 SteveYu 阅读(134) 评论(0) 推荐(0) 编辑
摘要: A family hierarchy is usually presented by a pedigree tree where all the nodes on the same level belong to the same generation. Your task is to find t 阅读全文
posted @ 2020-05-18 14:03 SteveYu 阅读(214) 评论(0) 推荐(0) 编辑
摘要: Zhejiang University has 8 campuses and a lot of gates. From each gate we can collect the in/out times and the plate numbers of the cars crossing the g 阅读全文
posted @ 2020-05-18 14:00 SteveYu 阅读(216) 评论(0) 推荐(0) 编辑