
codeforces
文章平均质量分 68
baker00
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
codeforces 463 B Caisa and Pylons
这道题坑我了我就,最后fa原创 2014-09-04 21:32:19 · 568 阅读 · 0 评论 -
codeforces #303 div2 A. Toy Cars
A. Toy Carstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputLittle Susie, thanks to her older brother, likes原创 2015-05-23 00:09:20 · 645 阅读 · 0 评论 -
codeforces good bye 2014
A. New Year Transportationtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputNew Year is coming in Line World原创 2015-01-01 09:24:49 · 440 阅读 · 0 评论 -
codeforces 498A crazy town
A. Crazy Towntime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputCrazy Town is a plane on which there are n inf原创 2014-12-26 17:37:01 · 846 阅读 · 0 评论 -
codeforces 499A watching a movie
A. Watching a movietime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou have decided to watch the best momen原创 2014-12-26 16:47:39 · 985 阅读 · 0 评论 -
B - Vanya and Lanterns
简单的模拟,可是纠结的我一直出错#include#include#include#include#define MAXN 1000+5using namespace std;double a[MAXN];int main(){int n,l;cin>>n>>l;for(int i=1;i<=n;i++){ cin>>a[i];}sort(a+1,a+n+1);d原创 2014-12-08 00:37:35 · 720 阅读 · 0 评论 -
codeforces 459A. Pashmak and Garden
A. Pashmak and Gardentime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPashmak has fallen in love with an att原创 2014-08-16 20:19:17 · 483 阅读 · 0 评论 -
看看有什么问题CF 462B. Appleman and Card Game
#include#include#include#define MAXN 100000+5#define LL long longusing namespace std;char a[MAXN];bool cmp(int a,int b){ return a>b;}int main(){ int alpha[26]; memset(alpha,0,sizeof(a原创 2014-09-06 22:22:41 · 636 阅读 · 1 评论 -
codefore 10A . Power Consumption Calculation
A. Power Consumption Calculationtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputTom is interested in power原创 2014-08-12 18:43:43 · 537 阅读 · 0 评论 -
遍历vector的两种方法
遍历vectordfor (vector::const_iterator i=Q.begin(); Q.end()!=i; ++i){cout }下标法for (vector::size_type i=0 ; Q.size()!=i; ++i){cout }原创 2014-09-20 23:25:05 · 1696 阅读 · 0 评论 -
467A. George and Accommodation
A. George and Accommodationtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputGeorge has recently entered the原创 2014-09-20 23:17:56 · 462 阅读 · 0 评论 -
Die ROll
A. Die Rolltime limit per test1 secondmemory limit per test64 megabytesinputstandard inputoutputstandard outputYakko, Wakko and Dot, world-famous animaniacs, de原创 2014-08-11 00:56:50 · 585 阅读 · 0 评论 -
codeforces 458B
B. Pashmak and Flowerstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPashmak decided to give Parmida a pair of flowers from the garden. There are原创 2014-08-17 00:19:22 · 557 阅读 · 0 评论 -
codeforces 460A
第一次参加,菜成狗了#include#includeusing namespace std;int main(){ int m,n,day; cin>>n>>m; day=0; while(n--) { day++; if(day%m==0)n++; } cout<<day<<endl; return 0;}原创 2014-08-21 09:25:10 · 446 阅读 · 0 评论 -
527A. Playing with Paper
A. Playing with Papertime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputOne day Vasya was sitting on a not so interesting Maths lesson and making an原创 2015-03-20 12:21:26 · 806 阅读 · 0 评论