PTA甲级——1035 1035 PasswordTo prepare for PAT, the judge sometimes has to generate random passwords for the users. The problem is that there are always some confusing passwords since it is hard to distinguish 1 (on 2024-04-17 PAT甲级备考专区 #练习 #算法 #PAT #大模拟
PTA甲级——1036 1036 Boys vs GirlsThis time you are asked to tell the difference between the lowest grade of all the male students and the highest grade of all the female students. Input Specification:Each input file 2024-04-17 PAT甲级备考专区 #练习 #算法 #PAT #大模拟
PTA甲级——1031 1031 Hello World for UGiven any string of N (≥5) characters, you are asked to form the characters into the shape of U. For example, helloworld can be printed as: 1234h de ll rlowo That is, the cha 2024-04-17 PAT甲级备考专区 #练习 #算法 #PAT #大模拟
PTA甲级——1030 1030 Travel PlanA traveler’s map gives the distances between cities along the highways, together with the cost of each highway. Now you are supposed to write a program to help a traveler to decide the 2024-04-17 PAT甲级备考专区 #练习 #算法 #PAT #DFS #最短路问题
PTA甲级——1027 1027 Colors in MarsPeople in Mars represent the colors in their computers in a similar way as the Earth people. That is, a color is represented by a 6-digit number, where the first 2 digits are for Re 2024-04-17 PAT甲级备考专区 #练习 #算法 #PAT #大模拟