吉老师出的题目(题目中出现了Rikka
湖大据说有老队员回来打比赛 A了5题太强了
题解链接:https://pan.baidu.com/s/1Mory9C2C5KeypkfZNoiMlg 提取码: 4nx9 复制这段内容后打开百度网盘手机App,操作更方便哦
05 Rikka with Game
HDU 6684 签到题/思维
大白写的
复制代码
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32#include <bits/stdc++.h> using namespace std; int main() { int t; char s[105]; scanf("%d",&t); while(t--) { scanf("%s",s); if(s[0]=='z') { s[0]='b'; printf("%sn",s); } else if(s[0]=='y') { int l=strlen(s); int i; for(i=1;i<l;i++) if(s[i]!='y') break; if(s[i]=='z') s[i]='b'; printf("%sn",s); } else printf("%sn",s); } return 0; }
06 Rikka with Coin
HDU 6685 暴力枚举
02 Rikka with Cake
HDU 6681 线段树
最后
以上就是时尚河马最近收集整理的关于2019暑假多校训练第九场 | 部分题解的全部内容,更多相关2019暑假多校训练第九场内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复