![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Codeforces
文章平均质量分 84
slime_kirito
讨厌无力的自己
展开
-
Codeforces Round #322 (Div. 2)
比赛结果过后才开始做,要是比赛当时估计还做不出这么多。。。A. Vasya the Hipstertime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputOne原创 2015-09-29 21:37:44 · 685 阅读 · 0 评论 -
Codeforces Round #352 (Div. 2)
A. Summer Camptime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputEvery year, hundreds of people come to summer原创 2016-05-12 21:52:49 · 726 阅读 · 0 评论 -
Codeforces Round #351 (VK Cup 2016 Round 3, Div. 2 Edition)
A. Bear and Gametime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputBear Limak likes watching sports on TV. He原创 2016-05-11 11:05:42 · 581 阅读 · 0 评论 -
Codeforces Round #350 (Div. 2)
A. Holidaystime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputOn the planet Mars a year lasts exactly n days (原创 2016-05-11 10:44:06 · 565 阅读 · 0 评论 -
Codeforces Round #338
题目地址:http://codeforces.com/contest/615A题意:给你n个开关,一共有m个灯,每个开关控制xi个灯,只要按下这个开关,那么xi个灯都会亮问你是否可以使得所有m个灯都能够亮起来思路:初始m个灯都是关,然后对于n个开关,每个开关的xi个灯都标记下已经打开,最后判断一下是否m个灯都已经打开,即1-m有没有哪个数字x(1#define _CRT原创 2016-01-23 12:19:42 · 357 阅读 · 0 评论 -
Codeforces Educational Codeforces Round 5
题目地址:http://codeforces.com/contest/616CodeForces 616A题意:输入两个数字【最大为10^6位的非负整数】,判断大小,可能有前导0思路:模拟,先分别去掉前导0,然后判断位数,位数不相等的话,位数大的比较大位数相等的话,逐字符比较大小即可。#define _CRT_SECURE_NO_DEPRECATE#include#原创 2016-01-22 14:32:44 · 348 阅读 · 0 评论 -
Codeforces Round #339 (Div. 2)
题目链接:http://codeforces.com/contest/614CodeForces - 614A题意:给定l,r,k。输出k^0,k^1,k^2....k^n在[l,r]这个范围里面的数,如果没有这样的数则输出-1思路:暴力,注意精度,因为r为10^18次方,如果是num>r再结束的话会溢出,应该是num>r/k就要退出了#define _CRT_SECURE原创 2016-01-22 14:29:15 · 416 阅读 · 0 评论 -
Codeforces Round #325 (Div. 2)
A. Alena's Scheduletime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAlena has successfully passed the entran原创 2015-10-15 23:22:45 · 86 阅读 · 2 评论 -
Codeforces Round #327 (Div. 2)
A. Wizards' Dueltime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputHarry Potter and He-Who-Must-Not-Be-Named原创 2015-10-26 12:34:29 · 554 阅读 · 0 评论 -
Codeforces Round #326 (Div. 2)
A. Duff and Meattime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputDuff is addicted to meat! Malek wants to ke原创 2015-10-26 12:53:34 · 907 阅读 · 0 评论 -
Codeforces Round #324 (Div. 2)
A. Olesya and Rodiontime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputOlesya loves numbers consisting of n di原创 2015-10-08 21:31:22 · 543 阅读 · 0 评论 -
Codeforces Round #321 (Div. 2)
A. Kefa and First Stepstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputKefa decided to make some money doi原创 2015-10-03 16:09:46 · 564 阅读 · 0 评论 -
Codeforces Round #349 (Div. 2)
A. Pouring Raintime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputA lot of people in Berland hates rain, but y原创 2016-05-12 21:46:52 · 540 阅读 · 0 评论