原文:PAT-2019年冬季考试-甲级 7-1 Good in C (20分)

Good in C 分 When your interviewer asks you to write Hello World using C, can you do as the following figure shows Input Specification: Each input file contains one test case. For each case, the first ...

2019-12-08 12:34 0 280 推荐指数:

查看详情

PAT-2019秋季考试-甲级

7-1 Forever (20 ) 7-2 Merging Linked Lists (25 ) 7-3 Postfix Expression (25 ) 7-4 Dijkstra Sequence (30 ) ...

Thu Sep 12 09:18:00 CST 2019 2 446
PAT-2019冬季考试-乙级(题解)

很荣幸这次能够参加乙级考试,和大佬们同台竞技了一次,这篇博客,进行介绍这次2019冬季的乙级考试题解。 7-1 2019数列 (15) 把 2019 各个数位上的数字 2、0、1、9 作为一个数列的前 4 项,用它们去构造一个无穷数列,其中第 n(>)项是它前 4 项之和的个位数 ...

Sun Dec 08 07:55:00 CST 2019 0 1136
PAT甲级)2020冬季考试

7-1 The Closest Fibonacci Number (20 ) 时间限制:150 ms 内存限制:64 MB The Fibonacci sequence Fn is defined by Fn+2=Fn+1+Fn for n≥0, with F0=0 and F1=1. ...

Sat Apr 10 22:45:00 CST 2021 0 460
PAT甲级)2020冬季考试自测

自测时间为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 ...

Sat Mar 13 04:41:00 CST 2021 0 353
PAT甲级2019秋季考试

第一题用搜索,超时了,待补 更新第一题思路 dfs + 剪枝,首先确定 n的最后一位数字肯定是9,为什么呢,因为 任意两个相邻的数肯定互为质数(gcd=1),所以 n 的末尾肯定是9,这样n+1产 ...

Wed Oct 02 01:33:00 CST 2019 0 716
2019PAT甲级考试

  这次考试不是很理想,一道题目没能做完。   自己原因差不多三条:     1.自己实力不够,准备时间也有点仓促,自己没能做到每道题目都有清晰的思路。     2.考试的心理素质不行,因为设备原因东奔西跑浪费了挺多时间,自己心态有点不稳。     3.考场选择的太糟糕了,老师超级不负责任 ...

Mon Mar 04 04:02:00 CST 2019 0 920
PAT甲级2019春季考试

7-1 Sexy Primes 判断素数 一个点没过17/20 错因:输出i-6写成了输出i,当时写的很乱,可以参考其他人的写法 修改后的代码: 7-2 Anniversary 集合、查找排序 25 7-3 Telefraud Detection 图论 15/25 ...

Wed Sep 25 02:10:00 CST 2019 0 476
PAT甲级2019秋季考试

7-1 Forever (20 ) 时间限制:3000 ms 内存限制:64 MB "Forever number" is a positive integer A with K digits, satisfying the following constrains: the sum ...

Wed Apr 07 06:23:00 CST 2021 4 211
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM