自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 2019 GDUT Rating Contest #III 5题解的综合

2019 GDUT Rating Contest #III 5篇题解C. Team Tic Tac Toe题目略解:这题就是3*3的表格里需要找出成为一行,一列,对角线的大写字母组合,直接暴力即可,但是要注意细节,不能错过特例。#include<iostream>#include<cstdio>#include<cmath>#include&l...

2019-03-17 00:26:49 362

原创 2019 GDUT Rating Contest #II 这是群题解,七篇!!!

2019 GDUT Rating Contest #II 这是群题解,七篇!!!题目见:http://codeforces.com/group/NVaJtLaLjS/contest/238194原谅一下,一片一片写太累了有辱师兄的高效教诲A:没想到吧,我先放代码,哈哈哈。#include<iostream>#include<cstdio>#include<...

2019-03-16 01:20:01 455 1

原创 # 2019 GDUT Rating Contest #I H. Mixing Milk

2019 GDUT Rating Contest #I H. Mixing Milk题目见 :http://codeforces.com/group/NVaJtLaLjS/contest/238166/problem/H题目大意:又是奶!!!有3个桶,给出容量和里面的奶量,从一号开始,把一个桶里的奶倒到下一个桶里,原桶要倒完或者下个桶要倒满。这样100次,问你最终结果状态。思路:还...

2019-03-15 23:08:53 112

原创 # 2019 GDUT Rating Contest #I G. Back and Forth

2019 GDUT Rating Contest #I G. Back and Forth题目见 :http://codeforces.com/group/NVaJtLaLjS/contest/238166/problem/G题目大意:懒了,直接翻译吧:(求饶)农夫约翰有两个挤奶棚,每个都有一个大牛奶罐和一个储藏室。1010大小不一的桶。他喜欢在两个谷仓之间来回运送牛奶作为锻炼的一种手...

2019-03-15 23:02:48 158

原创 # 2019 GDUT Rating Contest #I E. Convention

2019 GDUT Rating Contest #I E. Convention题目见 :http://codeforces.com/group/NVaJtLaLjS/contest/238166/problem/E题目大意:n头牛,每头牛在ti时间到达,有m辆车,每辆最多能够坐c头牛,求最小的最大等待时间。思路:看到“最小化最大值”,就想到“二分答案”。不用再说了…实现:#i...

2019-03-15 22:57:19 114

原创 # 2019 GDUT Rating Contest #I E. Convention

2019 GDUT Rating Contest #I E. Convention题目见 :http://codeforces.com/group/NVaJtLaLjS/contest/238166/problem/E题目大意:有n头牛,第i头牛在ti到达,有m辆车,每辆能够载c头牛,求出最小的最长等待时间。思路:看见“最小化最大值”,你会不由自主想到“二分”。一次优化:用hav...

2019-03-15 22:25:32 112

原创 # 2019 GDUT Rating Contest #I B. Teamwork

2019 GDUT Rating Contest #I B. Teamwork题目见 :http://codeforces.com/group/NVaJtLaLjS/contest/238166/problem/B题目大意:n个数,可以把相邻的分成k组,每组所有数变成其中最大的,求最大总和。思路:一道dp,用dp[i]表示前i个数分组能够得到的最大和,那么对于j=1~i-1, dp[...

2019-03-15 17:42:41 109

原创 # 2019 GDUT Rating Contest #I A. The Bucket List

2019 GDUT Rating Contest #I A. The Bucket List题目见 :http://codeforces.com/group/NVaJtLaLjS/contest/238166/problem/A题目大意:n头牛,每头牛i需要在一定时间内(si~ti)使用bi个桶,求总共最少使用多少个桶。思路:找到所有同一时间内最多使用的桶数目即是总共使用的桶数目。...

2019-03-15 01:22:04 407

原创 # 2019 GDUT Winter Personal Training Contest III (Div. 2) I. Lucky Tickets

2019 GDUT Winter Personal Training Contest III (Div. 2) I. Lucky Tickets题目见 :http://codeforces.com/group/NVaJtLaLjS/contest/236618/problem/I题目大意:给你一些数n (1 ≤ n ≤ 104) ,问你把他们两两组合拼接,总共有几个是三的倍数?思路:尽...

2019-03-14 21:32:56 136

原创 # 2019 GDUT Winter Personal Training Contest I (Div. 2) I. Up the hill

2019 GDUT Winter Personal Training Contest I (Div. 2) I. Up the hill题目见 :http://codeforces.com/group/NVaJtLaLjS/contest/236426/problem/I题目大意:任意输出一串1~n的数字,使得其中有A个上升,B个下降。(A + B + 1 = N, 1 ≤ N ≤ 100...

2019-03-14 19:21:20 197

原创 # 2019 GDUT Winter Personal Training Contest I (Div. 2) H. Depression

2019 GDUT Winter Personal Training Contest I (Div. 2) H. Depression题目见 :http://codeforces.com/group/NVaJtLaLjS/contest/236426/problem/H题目大意:对于一个时间,输出时针和分针顺时针从0转到的角度。思路:至水的初中数学题目,一个小时60分钟,12个小时一圈...

2019-03-14 18:59:31 144

原创 2019 GDUT Winter Personal Training Contest I (Div. 2) A. Protect Sheep

2019 GDUT Winter Personal Training Contest I (Div. 2) A. Protect Sheep题目见 :http://codeforces.com/group/NVaJtLaLjS/contest/236426/problem/A题目大意:一个长宽分别为R,C(<=500)的长方形,里面有字符 s ——羊,w ——狼,. ——空地,你可以...

2019-03-14 18:54:07 558

原创 # 2019 GDUT Winter Personal Training Contest III (Div. 2) H. Roma and Changing Signs

2019 GDUT Winter Personal Training Contest III (Div. 2) H. Roma and Changing Signs题目见 :http://codeforces.com/group/NVaJtLaLjS/contest/236618/problem/H题目大意:此题好像之前的F题,题目是说必须将序列中k个数字*-1结果使得序列中的数字总和最大...

2019-03-14 09:59:38 131

原创 # 2019 GDUT Winter Personal Training Contest III (Div. 2) F. Flipping Game

2019 GDUT Winter Personal Training Contest III (Div. 2) F. Flipping Game题目见 :http://codeforces.com/group/NVaJtLaLjS/contest/236618/problem/A题目大意:给出一串长度为n(1<=n<=100)的由0和1组成的数列,你可以将一个区间内部的0变成1...

2019-03-14 09:43:44 114

原创 # 2019 GDUT Winter Personal Training Contest III (Div. 2) B. Mike and Shortcuts

2019 GDUT Winter Personal Training Contest III (Div. 2) B. Mike and Shortcuts题目见 :http://codeforces.com/group/NVaJtLaLjS/contest/236618/problem/B题目大意:给出n个格子,每次可以从当前位置第i格往前或后走一格,或者走到ai格(ai>i),求从...

2019-03-14 09:28:40 101

原创 2019 GDUT Winter Personal Training Contest III (Div. 2) A题 QAQ 题解

2019 GDUT Winter Personal Training Contest III (Div. 2) A题 QAQ 题解题目见 :http://codeforces.com/group/NVaJtLaLjS/contest/236618/problem/A题目大意:给出一串大写字符串s(长度小于等于100),求里面所有"QAQ"的个数(可以不相邻,即“Q...A...Q”)思...

2019-01-26 19:32:00 485 1

空空如也

空空如也

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

TA关注的人

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