- 博客(8)
- 收藏
- 关注
原创 PAT (Advanced Level) Practice 1063 Set Similarity (25分)——测试点4
记做题时犯的错题目地址:https://pintia.cn/problem-sets/994805342720868352/problems/994805409175420928题目描述Given two sets of integers, the similarity of the sets is defined to be Nc / Nt ×100%, where Nc is the number of distinct common numbers shared by the two s
2020-09-20 20:48:14 138
原创 PAT (Basic Level) Practice (中文) 1033 旧键盘打字 (20分)——测试点2
记做题时犯的错题目地址:https://pintia.cn/problem-sets/994805260223102976/problems/994805288530460672题目描述旧键盘上坏了几个键,于是在敲一段文字的时候,对应的字符就不会出现。现在给出应该输入的一段文字、以及坏掉的那些键,打出的结果文字会是怎样?输入格式输入在 2 行中分别给出坏掉的那些键、以及应该输入的文字。其...
2020-04-10 16:46:16 203
原创 PAT (Advanced Level) Practice 1075 PAT Judge (25分)——测试点4
记做题时犯的错题目地址:https://pintia.cn/problem-sets/994805342720868352/problems/994805393241260032题目描述The ranklist of PAT is generated from the status list, which shows the scores of the submissions. This t...
2020-04-08 16:20:06 535 3
原创 PAT (Advanced Level) Practice 1019 General Palindromic Number (20分)——测试点1,3,6出错
记做题时犯的错题目地址:https://pintia.cn/problem-sets/994805342720868352/problems/994805487143337984题目描述A number that will be the same when it is written forwards or backwards is known as a Palindromic Number...
2020-03-27 10:48:49 197 1
原创 PAT (Basic Level) Practice (中文) 1027 打印沙漏 (20分)——测试点0,1,2出错
记做题时犯的错题目地址:https://pintia.cn/problem-sets/994805260223102976/problems/994805294251491328题目描述本题要求你写个程序把给定的符号打印成沙漏的形状。例如给定17个“*”,要求按下列格式打印***** *** * ********所谓“沙漏形状”,是指每行输出奇数个符号;各行符号中心对齐;相邻...
2020-03-25 18:35:50 582 1
原创 PAT (Advanced Level) Practice 1046 Shortest Distance (20分)——测试点3出错
记做题时犯的错题目地址:https://pintia.cn/problem-sets/994805342720868352/problems/994805435700199424题目描述The task is really simple: given N exits on a highway which forms a simple cycle, you are supposed to te...
2020-03-21 16:16:02 203
原创 PAT (Basic Level) Practice 1010 一元多项式求导 (25分)
记做题时犯的错题目地址:https://pintia.cn/problem-sets/994805260223102976/problems/994805313708867584题目描述设计函数求一元多项式的导数。(注:xn(n为整数)的一阶导数为nxn−1 。)输入格式以指数递降方式输入多项式非零项系数和指数(绝对值均为不超过 1000 的整数)。数字间以空格分隔。输出格式...
2020-03-19 16:48:26 254
原创 PAT (Basic Level) Practice 1018 锤子剪刀布 (20分)
记做题时犯的错题目地址:https://pintia.cn/problem-sets/994805260223102976/problems/994805304020025344题目描述大家应该都会玩“锤子剪刀布”的游戏:两人同时给出手势,胜负规则如图所示:现给出两人的交锋记录,请统计双方的胜、平、负次数,并且给出双方分别出什么手势的胜算最大输入格式输入第 1 行给出正整数 N(≤1...
2020-03-02 17:24:44 159
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人