自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 信息学奥赛一本通高手训练1682:最小字典序

题目代码#include<bits/stdc++.h>using namespace std;const int N=55;int T,sm,pm,px[N],py[N],pz[N];char s[N],t[N],ans[N];inline void solve_bit(int id,int k){ for(int i=1;i<k;i++)t[i+px[id]-1]=t[i+px[id-1]-1]; for(int i=k+1,im=pz[id];i<=im

2022-03-01 18:36:17 257

原创 信息学奥赛一本通高手训练1680:序列

题目代码#include<cstdio>#include<iostream>#include<cmath>#define LL long longusing namespace std;const LL N = 1400000+7;const LL mod = 1e9+7;int n, t;LL pos[N], sum[N], ans[N];struct node{ LL ll, rr;}a[N];int main(){ p

2022-02-28 18:06:59 265

原创 信息学奥赛一本通高手训练1679:子集

题目代码#include<bits/stdc++.h>template<class T>inline void read(T & res){ char ch; while(ch=getchar(),! isdigit(ch)); res=ch^48; while(ch=getchar(),isdigit(ch))res=res*10+ch-48;}typedef long long ll;const int N=2e5+5;const doub

2022-02-28 18:04:08 286

原创 信息学奥赛一本通高手训练1677:软件开发

题目#pragma GCC optimize(3)#include <bits/stdc++.h>#define debug(x) cout<<#x<<":"<<x<<endl;#define dl(x) printf("%lld\n",x);#define di(x) printf("%d\n",x);typedef long long ll;typedef unsigned long long ull;using names

2022-02-28 18:00:14 185

原创 信息学奥赛一本通高手训练题解目录

第1部分 基础算法(高手训练)-->第1章 贪心算法1.1.1 扑克牌1.1.2游戏通关1.1.3楼间跳跃1.1.4堆蛋糕1.1.5塔第1部分 基础算法(高手训练)-->第2章 二分与三分每日更新,未完待续

2022-02-27 17:40:37 4187 3

空空如也

空空如也

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

TA关注的人

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