自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

the_xin的博客

19级的很弱的acmer

  • 博客(4)
  • 收藏
  • 关注

原创 (Training 27)AtCoder Beginner Contest 191

A - Vanishing Pitch 判断下距离即可 #include<iostream> #include<cstring> #include<algorithm> using namespace std; const int N=1e5+10; int main(){ int n,s,t,d; cin>>n>>s>>t>>d; int sd=n*s; int td=n*t; if(d<sd||d>

2021-02-10 20:57:24 254 1

原创 (Training 26)Educational Codeforces Round 94

A. String Similarity 一个二进制字符串 构造一个长度为n的字符串 使得长度原串为n的子串能在该构造出来的字符串中满足相同位置的字符相等 思路:这里取字符串的第奇数个 必然满足条件 #include<iostream> #include<cstring> #include<algorithm> using namespace std; const int N=1e5+10; char str[N]; int main(){ int T ; cin&

2021-02-10 18:55:16 263 1

原创 (Training 25)Educational Codeforces Round 93

A. Bad Triangle 题意:输出一个不能组成三角形的3个数 思路:直接考虑1 2 n即可 #include<iostream> #include<cstring> #include<algorithm> using namespace std; const int N=1e6+10; int a[N]; bool check(int x,int y,int z){ if((x+y<=z))return 1; return 0; } int main()

2021-02-04 16:49:05 91

原创 (Training 24)AtCoder Beginner Contest 190

A - Very Very Primitive Game 题意: “Aoki"有A个糖果 “Takahashi” 有B个糖果 1表示"Takahashi“先吃 0表示” "Aoki"先吃 每次吃一个 轮到某个人没得吃的时候另一个人赢了 输出他的名字 思路:直接比较即可 #include<cstring> #include<algorithm> #include<iostream> using namespace std; const int N=1e5+10; int

2021-02-01 00:35:25 143

空空如也

空空如也

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

TA关注的人

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