上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 32 下一页
摘要: 仅要求图形界面和范围判断#include #include #include using namespace std;string pass_word;string real_pass_word = "88888... 阅读全文
posted @ 2018-05-28 17:51 张浦 阅读(276) 评论(0) 推荐(0) 编辑
摘要: A B D F H 五道水题 都签了就是稳银A. 计划日B. 治安管理C. 山区修路D. 求Xf+闭包 E. 物流配送F.Gene mutationG. CheckpointsH. Attack City and... 阅读全文
posted @ 2018-05-28 16:59 张浦 阅读(197) 评论(0) 推荐(0) 编辑
摘要: 可以说是非常变态了 全是细节问题 #include using namespace std;void put(int p1,int p2,int p3, char fst, char lst){ if(p1 =... 阅读全文
posted @ 2018-05-24 16:41 张浦 阅读(88) 评论(0) 推荐(0) 编辑
摘要: 基础模拟 位置运算 可以模掉无效值注意细节即可#include using namespace std;const int MAXN = 1e5 + 10;int pep[MAXN];string name[MA... 阅读全文
posted @ 2018-05-24 10:28 张浦 阅读(76) 评论(0) 推荐(0) 编辑
摘要: 简单模拟题打个表就行#include using namespace std;const int MAXN = 210;int a[MAXN];int b[MAXN];int main(){ int soc[5]... 阅读全文
posted @ 2018-05-23 21:36 张浦 阅读(83) 评论(0) 推荐(0) 编辑
摘要: 1.朴素算法贪心输入数据时进行记录,譬如4 2 4 3说明在 2列 和 3列 中同学说话 记录一下2 3 3 3说明在 2行 和 3行 中同学说话 记录一下找出说话列最多 行最多的 按人数排位置序 输出位置#in... 阅读全文
posted @ 2018-05-23 20:53 张浦 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 1.拓展欧几里得求逆元 #include <bits/stdc++.h> typedef long long ll; using namespace std; ll x,y; ll eggcd(ll m,ll n) { if(n==0) { x=1; y=0; return m; } int r=e 阅读全文
posted @ 2018-05-23 17:11 张浦 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 简单模拟题 注意细节暴力暴力#include using namespace std;int arr[100];int main(){ int n; cin>>n; int flag = n; for(int i... 阅读全文
posted @ 2018-05-22 21:17 张浦 阅读(82) 评论(0) 推荐(0) 编辑
摘要: 1.朴素算法完全没必要把新数赋给word【0】然后所有数往后移一位,把【0】位想象成动态的才是较优解法维护一个“内存”数组,从前往后循环插数,多的直接覆盖掉,每次覆盖答案加一#include #include u... 阅读全文
posted @ 2018-05-22 09:41 张浦 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 一千组数据,枚举出所有任意两个数的组合,一共1000 * 1000组记录组合来的下标 然后二分查相反数并查重。#include #include using namespace std;typedef long ... 阅读全文
posted @ 2018-05-21 21:11 张浦 阅读(123) 评论(0) 推荐(0) 编辑
上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 32 下一页