
水题
AC_Lee
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
赛码 基础算法
题目描述: code: #include <bits/stdc++.h> using namespace std; int main(){ int n; while(cin>>n){ int now=1;//当前走到了第几天 int num=0;//经历过的下跌次数 int continuation=2...原创 2020-03-26 00:20:00 · 639 阅读 · 0 评论 -
赛码 基本算法 翻转数组
不知为何在赛码上提交了看不到提交记录...就来这儿保存一下 题目: code: #include<bits/stdc++.h> using namespace std; int main(){ int n; int a[100006]; cin>>n; for(int i =1;i<=n;++i){ ...原创 2020-03-26 00:16:51 · 282 阅读 · 0 评论 -
hdu 6023 模拟
题目: Automatic Judge Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others) Total Submission(s): 928 Accepted Submission(s): 370 Problem Description W原创 2017-06-25 22:21:30 · 429 阅读 · 0 评论 -
hdu 6027 水题 注意全程取模,全程long long
题目: Easy Summation Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others) Total Submission(s): 969 Accepted Submission(s): 391 Problem Description Yo原创 2017-06-25 22:03:37 · 476 阅读 · 0 评论 -
codeforces 514B
题目: B. Han Solo and Lazer Gun time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output There are n Imp原创 2017-05-13 12:03:52 · 260 阅读 · 0 评论 -
hdu 2072 单词数 set+按字符处理
题目: 单词数 Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 51648 Accepted Submission(s): 12708 Problem Description lily的好朋友xia原创 2017-04-12 22:58:37 · 263 阅读 · 0 评论 -
zoj 2104 出现次数最多的字符串 两种姿势
题目: Let the Balloon Rise Time Limit: 2 Seconds Memory Limit: 65536 KB Contest time again! How excited it is to see balloons floating around. But to tell you a secret, the judges' favorite原创 2017-03-11 11:03:17 · 378 阅读 · 0 评论 -
zoj 1414 分情况讨论
题目: 给(x,y),输出数字 Sample Input 3 4 2 6 6 3 4 Sample Output 6 12 No Number 代码: #include #include using namespace std; int main(){ int x,y,t; scanf("%d",&t); while(t-原创 2017-03-01 21:50:55 · 559 阅读 · 0 评论 -
zoj 1115 水题+找规律
题目: Digital Roots Time Limit: 2 Seconds Memory Limit: 65536 KB Background The digital root of a positive integer is found by summing the digits of the integer. If the resulting valu原创 2017-03-01 21:31:35 · 321 阅读 · 0 评论 -
hdu 3361 ASCII
题目: ASCII Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 4367 Accepted Submission(s): 2321 Problem Description Since all w原创 2017-02-18 22:31:56 · 334 阅读 · 0 评论 -
poj 2941 Homogeneous Squares 解题报告
题目: Homogeneous Squares Time Limit: 3000MS Memory Limit: 65536K Total Submissions: 4721 Accepted: 2393 Description Assume you have a square of size n that is原创 2016-09-22 20:41:32 · 671 阅读 · 0 评论 -
codeforces 519C A and B and Team Training 解题报告 贪心
题目: C. A and B and Team Training time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output A and B are preparing原创 2016-09-13 09:47:52 · 259 阅读 · 0 评论 -
codeforces 339B Xenia and Ringroad 解题报告
B. Xenia and Ringroad time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Xenia lives in a city that has n hous原创 2016-09-09 23:24:49 · 648 阅读 · 0 评论