码迷,mamicode.com
首页 >  
搜索关键字:compress advanced low    ( 4944个结果
PAT (Advanced Level) 1075 PAT Judge
题解 模拟。 题目有三种状态。 第一种为题目得到了一定的分数( >= 0); 第二种为题目提交过但是没有通过编译(代码中状态为 -2 ,输出对应 0 ); 第三种题目根本就没提交过(代码中状态为 -1 ,输出对应 ‘-’ )。 考生只要至少有一道题目满足第一种情况,即可将这位考生的信息输出出来。 代 ...
分类:其他好文   时间:2020-01-22 01:11:31    阅读次数:98
PAT (Advanced Level) 1067 Sort with Swap(0, i)
题解 贪心。 若 0 的不在它的位置,那么 0 占的那个元素的位置,就和那个元素交换。 若 0 在它的位置,找一个没有归位的元素与 0 交换。 代码 #include<bits/stdc++.h> using namespace std; int arr[100005]; int main() { ...
分类:其他好文   时间:2020-01-21 19:57:19    阅读次数:52
jmeter文件的上传与下载
1、Jmeter上传文件 首先确认你的文件名称,参数名称,MIME类型,这些可以从接口文档里面获取,或者直接在页面抓包然后从请求头里面查看。 我这里是通过F12获取的,看个人喜好。 还有人说需要设置Advanced里面的配置,客户端实现选择java类型,切记(我这里没有配置是可以的,如果所有设置完了 ...
分类:Web程序   时间:2020-01-21 14:46:00    阅读次数:102
PAT (Advanced Level) 1025 PAT Ranking
题解 模拟水题。 代码 #include<bits/stdc++.h> using namespace std; struct node { string name; int final_rank,loc_num,loc_rank,grade; node(string name,int loc_nu ...
分类:其他好文   时间:2020-01-21 13:31:06    阅读次数:63
PAT Advanced 1086 Tree Traversals Again (25分)
An inorder binary tree traversal can be implemented in a non-recursive way with a stack. For example, suppose that when a 6-node binary tree (with the ...
分类:其他好文   时间:2020-01-21 13:21:50    阅读次数:88
PAT (Advanced Level) 1016 Phone Bills
题解 模拟。注意美元和美分的转换。如果一个人没有完整的消费记录什么都别输出 (呕~~) :)。 代码 #include<bits/stdc++.h> using namespace std; struct node { string time,flag,other_time; int cost_se ...
分类:其他好文   时间:2020-01-21 00:53:08    阅读次数:84
油猴脚本:去除百度首页广告卡片推荐和二维码
问题描述: 最近打开百度首页,突然发现有了广告卡片推荐,如下情况所示: 解决方案: 想要屏蔽显示的这个,不想被强制推广 想到可以写个简单的油猴脚本,由于js只是会一点点,所以代码也比较low,不过可以达到自己想要的效果 代码: 最后效果如下: ...
分类:其他好文   时间:2020-01-21 00:35:53    阅读次数:161
PAT Advanced 1020 Tree Traversals (25分)
1020 Tree Traversals (25分) Suppose that all the keys in a binary tree are distinct positive integers. Given the postorder and inorder traversal sequen ...
分类:其他好文   时间:2020-01-20 20:53:02    阅读次数:76
PAT Advanced 1093 Count PAT's (25分)
The string APPAPT contains two PAT's as substrings. The first one is formed by the 2nd, the 4th, and the 6th characters, and the second one is formed ...
分类:其他好文   时间:2020-01-20 09:57:49    阅读次数:93
PAT Advanced 1065 A+B and C (64bit) (20分)
Given three integers A, B and C in [?], you are supposed to tell whether A+B>C. Input Specification: The first line of the input gives the positive nu ...
分类:其他好文   时间:2020-01-20 09:30:50    阅读次数:92
4944条   上一页 1 ... 47 48 49 50 51 ... 495 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!