7-1 Panda and PP Milk (20 分) 时间限制:150 ms 内存限制:64 MB PP milk (盆盆奶)is Pandas' favorite. They would line up to enjoy it as show in the picture. ...
刚考完PAT 最后半小时手机居然关机断网了 题目描述可以参考 年PAT秋原题 第一题 奶牛题 好坑,我想的是找出单调序列,从小到大依次赋值,序列最大的点先放着,之后根据两边的值确定每个最大点处的值。最后一个点wa 分 code 第二题 区间和问题,先求前缀和,再暴力找 满分 code 第三题 建树 给出中序,前序 拼题A上做过类似的click 满分 code 第四题 阅读理解题 环 最短路,我居 ...
2020-09-05 16:29 7 1830 推荐指数:
7-1 Panda and PP Milk (20 分) 时间限制:150 ms 内存限制:64 MB PP milk (盆盆奶)is Pandas' favorite. They would line up to enjoy it as show in the picture. ...
第一题用搜索,超时了,待补 更新第一题思路 dfs + 剪枝,首先确定 n的最后一位数字肯定是9,为什么呢,因为 任意两个相邻的数肯定互为质数(gcd=1),所以 n 的末尾肯定是9,这样n+1产 ...
记录2021.9.12 终于考完了。92分,已经超出了我自己的预期成绩了,很开心。(弱弱的说,我考试前做PAT前几年的仿真模拟卷都没有上70的,最高60多分,虽然说这次应该算是这几年以来最简单的一次了吧,所以说考试前其实我是没啥信心的QAQ,可能对于大佬来说92仅此而已,但是对我来说是莫大的惊喜 ...
7-1 Forever (20 分) 7-2 Merging Linked Lists (25 分) 7-3 Postfix Expression (25 分) 7-4 Dijkstra Sequence (30 分) ...
7-1 Forever (20 分) 时间限制:3000 ms 内存限制:64 MB "Forever number" is a positive integer A with K digits, satisfying the following constrains: the sum ...
2021PAT秋季甲级考试题解 1001 Arrays and Linked Lists 题意 Let's design a data structure A that combines arrays and linked lists as the following ...
比赛链接:https://pintia.cn/market/item/1302816969611366400 7-1 多二了一点 (15分) 题解 模拟。 代码 7-2 数字之王 (20分) 题解 模拟。 代码 7-3 如需挪车请致电 (20分 ...
自测时间为2021年春季考试前一天下午\(5:00 \sim 8:00\)。 7-1 The Closest Fibonacci Number (20 分) The Fibonacci sequence $F_n$ is defined by $F_{n+2} = F_{n+1} + F_n ...