发表评论取消回复
相关阅读
相关 PAT (Advanced Level) Practice 1139 First Contact (30分)
其实代码就不用看了,我写的很菜。主要是看思路,相信大家不会说一点思路没有,大体的代码都编的出来,但是可能漏掉了要点。 下面列举题干的坑: (1)题目中并没有说A和B是朋友
相关 PAT (Advanced Level) Practice 1029 Median
输入不要用cin,用scanf,不然会超时。真的要吐血了,没想到是这个点...... 使用cin输入数据时最后一个测试点超时,使用scanf直接89ms过,题限是200ms
相关 【PAT (Advanced Level) Practice】1037 Magic Coupon (25 分)
题意: 给出两个集合,从这两个集合里面选出数量相同的元素进行一对一相乘,求能够得到的最大乘积之和。 题解: 对每个集合,将正数和负数分开考虑,将每个集合里的整数从大到小排
相关 【PAT (Advanced Level) Practice】1093 Count PAT‘s (25 分)
1093 Count PAT’s (25 分) The string APPAPT contains two PAT’s as substrings. The first
相关 【PAT (Advanced Level) Practice】1147 Heaps (30 分)
1147 Heaps (30 分) In computer science, a heap is a specialized tree-based data structu
相关 【PAT (Advanced Level) Practice】1120 Friend Numbers (20 分)
1120 Friend Numbers (20 分) Two integers are called “friend numbers” if they share the
相关 【PAT (Advanced Level) Practice】PAT (Advanced Level) Practice
1006 Sign In and Sign Out (25 分) At the beginning of every day, the first person who s
相关 【PAT (Advanced Level) Practice】1008 Elevator (20 分)
include<iostream> include<cstdio> include<cstdlib> include<string> i
相关 【PAT (Advanced Level) Practice】1099 Build A Binary Search Tree (30 分)
深搜+广搜 include <iostream> include <stack> include <queue> include <vecto
相关 PAT (Advanced Level) Practice(更新中)
Source: > [PAT (Advanced Level) Practice][PAT _Advanced Level_ Practice] Reference:
还没有评论,来说两句吧...