![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
codeforces
fisty
hi
展开
-
#250 div.2 A. The Child and Homework
time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputOnce upon a time a child got a test consisting of multiple-choice原创 2014-06-02 15:41:01 · 566 阅读 · 0 评论 -
codeforce #129
ACodeForces 129AF - CookiesTime Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmitStatusPracticeCodeForces 129ADescriptionOlga came to visit the twi原创 2015-06-18 15:58:58 · 877 阅读 · 0 评论 -
codeforce #500场
500ANew Year Transportation/*********************************************** * Author: fisty * Created Time: 2015/3/11 22:30:22 * File Name : 500A.cpp ******************原创 2015-03-22 16:27:19 · 546 阅读 · 0 评论 -
codeforce 501场
501AContest/*********************************************** * Author: fisty * Created Time: 2015/3/20 10:35:58 * File Name : 501A.cpp ******************************************原创 2015-03-22 16:15:32 · 397 阅读 · 0 评论 -
BestCoder Round #32
A:需要注意的是sort函数排序时,当两个元素相等,排完序之后不一定还是按原先方式排列,所以在满足题目前两个条件之后还要按他们序号排/*********************************************** * Author: fisty * Created Time: 2015/3/7 19:27:19 * File Name : 1001.cpp **原创 2015-03-10 11:23:38 · 418 阅读 · 0 评论 -
codeforce295# B
广度搜索求最短距离./*********************************************** * Author: fisty * Created Time: 2015/3/3 21:27:29 * File Name : 295B.cpp *********************************************** */#include原创 2015-03-03 22:43:23 · 441 阅读 · 0 评论 -
Codeforces Round #294 (Div. 2)
519AA and B and Chess/*********************************************** * Author: fisty * Created Time: 2015/2/28 21:12:09 * File Name : A.cpp ***********************************原创 2015-03-01 19:42:45 · 406 阅读 · 0 评论 -
Playing Cubes
Playing CubesPetya and Vasya decided to play a little. They found n red cubes andm blue cubes. The game goes like that: the players take turns to choose a cube of some color (red or blue) and pu原创 2015-02-13 14:32:23 · 647 阅读 · 0 评论 -
Porcelain codeforce (背包)
E - PorcelainTime Limit:3000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmitStatusPracticeCodeForces 148EDescriptionDuring her tantrums the princess usually smash原创 2015-02-13 14:39:54 · 547 阅读 · 0 评论 -
Cut Ribbon codeforce
Cut RibbonTime Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmitStatusPracticeCodeForces 189ADescriptionPolycarpus has a ribbon, its length is n. He want原创 2015-02-13 14:22:01 · 640 阅读 · 0 评论 -
Sockets codeforces
A - SocketsTime Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmitStatusPracticeCodeForces 257ADescriptionVasya has got many devices that work on electricit原创 2015-02-13 14:25:04 · 561 阅读 · 0 评论 -
Little Elephant and Interval
Little Elephant and IntervalTime Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmitStatusPracticeCodeForces 204ADescriptionThe Little Elephant very much lov原创 2015-02-13 14:16:00 · 593 阅读 · 0 评论 -
F-Logo Turtle codeforces
F - Logo TurtleTime Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmitStatusPracticeCodeForces 132CDescriptionA lot of people associate Logo programming langu原创 2015-02-08 23:17:07 · 768 阅读 · 0 评论 -
codeforces Limit
C - LimitTime Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmitStatusPracticeCodeForces 197BDescriptionYou are given two polynomials:P(x) = a0·xn + a原创 2015-02-04 22:29:05 · 487 阅读 · 0 评论 -
codeforce Lexicographically Maximum Subsequence
只要读懂题意应该就没问题了吧。。找字符串的字典序最大子序,从后往前找比较方便,最后逆序输出/*********************************************** * Author: fisty * Created Time: 2015/2/4 21:15:20 * File Name : 3_D.cpp **************************原创 2015-02-04 22:24:05 · 566 阅读 · 0 评论 -
codeforces 468D Valid Sets
/********************** * Author:fisty * Data:2014-11-15 * CF468D * dfs,tree * *******************/#include #include #include #include using namespace std; #define MAX_N 2005#define MOD原创 2014-11-15 12:14:17 · 731 阅读 · 0 评论 -
#257 A.B
A. Jzzhu and Childrentime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are n children in Jzzhu's school. Jzzhu is原创 2014-07-30 23:36:35 · 453 阅读 · 0 评论 -
CodeForces 124B Permutations
PermutationsTime Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmitStatusPracticeCodeForces 124BDescriptionYou are given nk-digit integers. You have to rearrang原创 2015-06-18 16:01:01 · 1044 阅读 · 0 评论