自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 收藏
  • 关注

原创 leetcode704:二分查找

leetcode704:二分查找

2023-03-06 11:27:33 67 1

原创 A1060

#include <iostream> #include <string> using namespace std; int n; string deal(string s,int& e){ int k=0; while(s.length()>0&&s[0]=='0'){//去除前导0 s.erase(s.begin()); } i...

2018-07-12 18:56:53 217

原创 A1063

#include <cstdio> #include <set> using namespace std; const int N=51; set<int> st[N]; void compare(int x,int y){//比较集合st[x]和集合st[y] int totalNum=st[y].size(),sameNum=0;//不同数的个数,相同数的...

2018-07-10 21:07:00 211

原创 A1047

#include <cstdio> #include <vector> #include <cstring> #include <algorithm> using namespace std; const int maxn=40010; const int maxc=2510; vector<int> course[maxc];//课程最...

2018-07-09 22:35:18 253

原创 A1039

#include <cstdio> #include <cstring> #include <vector> #include <algorithm> using namespace std; const int N=40010; const int M=26*26*26*10+1; vector<int> selectCourse[M]...

2018-07-09 22:00:23 204

原创 大整数相关

#include <cstdio> #include <cstring> struct bign{//大整数存储 int d[1000]; int len; bign(){ memset(d,0,sizeof(d)); len=0; } }; bign change(char str[]){ bign a; a.len=strlen(str); for...

2018-07-08 20:17:52 92

原创 A1096

#include <cstdio> #include <cmath> #include <algorithm> typedef long long ll; int main(){ ll n; scanf("%lld",&n); ll sqr=(ll)sqrt(1.0*n),ansLen=0,ansI=0;//ansLen最长长度,ansI第一个整数...

2018-07-07 17:08:35 183

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除