codeforce
韦富城_0_0_
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Codeforces Round #413 Div. 1 + Div. 2 A. Carrot Cakes
Codeforces Round #413 Div. 1 + Div. 2 A. Carrot Cakes A. Carrot Cakes time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output In some game by Play原创 2017-05-12 12:12:54 · 848 阅读 · 0 评论 -
Codeforces Round #412 C - Success Rate
Codeforces Round #412 C - Success Rate算出最小倍数就可以了 p要大于等于yq要大于等于x对于x增加 y也随增加(y-x)*i#include #include #define read(); freopen("input.txt","r",stdin);using namespace std;typedef l原创 2017-05-08 15:58:08 · 641 阅读 · 0 评论 -
codeforces 807A Is it rated?
codeforces 807A Is it rated?#include #include #define read(); freopen("input.txt","r",stdin);using namespace std;int s[1005][2];int main(){ int n; cin>>n; int flag=0; for(int i=1;i<=n;原创 2017-05-08 15:51:28 · 621 阅读 · 0 评论 -
codeforces Round 21 808D Array Division
codeforces Round 21 808D Array DivisionD. Array Divisiontime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard output原创 2017-05-16 17:47:51 · 898 阅读 · 8 评论 -
Educational Codeforces Round 21 808C Tea Party 【贪心算法】
Educational Codeforces Round 21 808C Tea PartyC. Tea Partytime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outpu原创 2017-05-16 09:32:55 · 601 阅读 · 0 评论 -
Educational Codeforces Round 21 808B Average Sleep Time
Educational Codeforces Round 21 808B Average Sleep TimeB. Average Sleep Timetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutput原创 2017-05-16 08:50:10 · 733 阅读 · 0 评论 -
Educational Codeforces Round 21 808A Lucky Year
Educational Codeforces Round 21 808A Lucky Year A. Lucky Yeartime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outp原创 2017-05-16 08:45:30 · 1082 阅读 · 0 评论 -
Codeforces805D. Minimum number of steps
We have a string of letters 'a' and 'b'. We want to perform some operations on it. On each step we choose one of substrings "ab" in the string and replace it with the string "bba". If we have no "原创 2017-05-05 08:51:31 · 305 阅读 · 0 评论 -
CF411div2C.Find Amir
题目大意: 1-n个城市 每个城市走一边 找出一条路线 使得路线 之和最小 方案 从1走到n n走到2 2走到n-1 n-1走到3 3走到n-2 依次这样走 没走两步结果加一原创 2017-05-05 08:46:01 · 375 阅读 · 0 评论 -
Codeforces Round #414, rated, Div. 1 + Div. 2 B. Cutting Carrot+【等腰三角形等比例缩小】
Codeforces Round #414, rated, Div. 1 + Div. 2 B. Cutting CarrotB. Cutting Carrottime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputout原创 2017-05-14 00:03:55 · 1297 阅读 · 0 评论 -
Codeforces Round #414, rated, Div. 1 + Div. 2 A. Bank Robbery
Codeforces Round #414, rated, Div. 1 + Div. 2 A. Bank RobberyA. Bank Robberytime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputs原创 2017-05-13 23:58:51 · 389 阅读 · 0 评论 -
CF411div2 B. 3-palindrome
In the beginning of the new year Keivan decided to reverse his name. He doesn't like palindromes, so he changed Naviek to Navick.He is too selfish, so for a given n he wants to obtain a string原创 2017-05-05 08:41:47 · 1015 阅读 · 0 评论 -
CF411div2 A. Fake NP
除非l==r 最大值等于本身 那就是2是最多的 每两个数有一个被除数2 #include #include #define mod 1000000007#define ll long long using namespace std;int l,r; int main() { cin>>l>>r; if(l==r) cout<<l; else原创 2017-05-05 08:38:41 · 529 阅读 · 0 评论 -
Codeforces Round #413 Div. 1 + Div. 2 C. Fountains
Codeforces Round #413 Div. 1 + Div. 2 C. Fountains C. Fountains time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Arkady plays Gardenscapes原创 2017-05-12 12:25:09 · 950 阅读 · 0 评论 -
Codeforces Round #413 Div. 1 + Div. 2 B. T-shirt buying
Codeforces Round #413 Div. 1 + Div. 2 B. T-shirt buying B. T-shirt buying time limit per test3 seconds memory limit per test256 megabytes inputstandard input outputstandard output A new pack of n原创 2017-05-12 12:21:30 · 647 阅读 · 0 评论 -
codeforces Round 21 808E. Selling Souvenirs 【dp好题】
codeforces Round 21 808E. Selling Souvenirs 【dp好题】E. Selling Souvenirstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstand原创 2017-05-16 23:42:52 · 1288 阅读 · 0 评论
分享