上一页 1 2 3 4 5 6 ··· 9 下一页
摘要: 学一些东西,然后发现竟然敲过这道题目,不过一遍a掉还是很舒服的 #include<bits/stdc++.h> using namespace std; int x,y,ans=0,n,highest,lowest; struct one{int x,y;}; one e[5010]; bool c 阅读全文
posted @ 2020-08-29 10:08 mybing 阅读(102) 评论(0) 推荐(0) 编辑
摘要: The input file consists of multiple test case.For each test cases: 日欧,我下次再没看到多组数据输入我就.... 阅读全文
posted @ 2020-08-28 11:33 mybing 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 1 #include<bits/stdc++.h> 2 using namespace std; 3 int x,fp,f[200100][22],h[100100]; 4 char ch; 5 inline int read() 6 { 7 x=0;fp=1;ch=getchar(); 8 whi 阅读全文
posted @ 2020-08-27 15:45 mybing 阅读(121) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/gooooooo/p/12461154.htm 阅读全文
posted @ 2020-08-27 08:59 mybing 阅读(66) 评论(0) 推荐(0) 编辑
摘要: 我的妈呀...真的好长时间没有去做题了,开始做啦 今天的这道题只是一个二分 但是思维很好(毕竟刘神都不会) 这道题是在看算法进阶二分的时候看到的题目,用刘神的话讲,套路啦 思维1:二分出一个答案,并且将所有的值减去该答案,然后得到一个新的序列bi如果满足条件的连续区间,其累加和一定大于或等于零 思维 阅读全文
posted @ 2020-08-24 16:59 mybing 阅读(132) 评论(0) 推荐(0) 编辑
摘要: makedata # include<bits/stdc++.h> using namespace std; const bool flag=false; //默认无权树 const int N_[30]={0,10,10,100,1000,10,1000,10,1000,50,1000,10000 阅读全文
posted @ 2020-08-07 09:36 mybing 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 时间计算double a=(double)clock()/(double)CLOCKS_PER_SEC;算出来初始时间与末尾时间相减就好了 将数组随机random_shuffle(a+1,a+1+n); 阅读全文
posted @ 2020-08-05 15:13 mybing 阅读(97) 评论(0) 推荐(0) 编辑
摘要: 好久了... 热热手吧 阅读全文
posted @ 2020-08-03 08:36 mybing 阅读(98) 评论(0) 推荐(0) 编辑
摘要: 应该会在暑假写一篇长文,记录我的高中四年的生活吧,希望有一个好的结果... 想起来什么tag就写下来吧 雅礼洋湖的榴莲芝士蛋糕 贝贝的我回来了 高一时候的咸鱼 晚上和关神溜校园 埋可乐 高一的雅礼颓废 维他柠檬茶 笨蛋迟到的礼物 篮球班赛 作为数学课代表怒怼全班 cs 太原五中对面的鸡排和汉堡 北京 阅读全文
posted @ 2020-03-20 10:52 mybing 阅读(121) 评论(0) 推荐(1) 编辑
摘要: 扔个很丑的模板... 阅读全文
posted @ 2018-06-11 14:31 mybing 阅读(138) 评论(0) 推荐(1) 编辑
上一页 1 2 3 4 5 6 ··· 9 下一页