
codeforces
_bread
我很菜的
展开
-
Codeforces Round #427 (Div. 2) A. Key races
A. Key racestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputTwo boys decided to compete in text typing on t原创 2017-08-02 14:48:44 · 307 阅读 · 0 评论 -
Codeforces Round #479 (Div. 3)
题目链接:http://codeforces.com/contest/977A:题意是对这个数进行k次操作,如果这个数能被10整除,就除以10,不能的话就减1。#include#include#include#includeusing namespace std;#define LL long long intint main(){ int n, k; while (ci原创 2018-05-07 23:36:22 · 153 阅读 · 0 评论 -
Codeforces Round #290 (Div. 2)A. Fox And Snake
A. Fox And Snaketime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputFox Ciel starts to learn programming. The原创 2018-04-20 11:45:11 · 262 阅读 · 0 评论 -
Codeforces Round #287 (Div. 2)E. Breaking Good
E. Breaking Goodtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputBreaking Good is a new video game which a原创 2018-04-20 11:27:23 · 171 阅读 · 0 评论 -
Codeforces Round #287 (Div. 2)B. Amr and Pins
B. Amr and Pinstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAmr loves Geometry. One day he came up with原创 2018-04-20 10:32:13 · 198 阅读 · 0 评论 -
Codeforces Round #440 (Div. 2) Search for Pretty Integers
A. Search for Pretty Integerstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given two lists of non原创 2017-10-16 12:24:08 · 351 阅读 · 0 评论 -
Codeforces Round #439 (Div. 2) The Eternal Immortality
B. The Eternal Immortalitytime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputEven if the world is full of coun原创 2017-10-15 20:10:32 · 277 阅读 · 0 评论 -
Codeforces Round #439 (Div. 2) The Artful Expedient
A. The Artful Expedienttime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputRock... Paper!After Karen have f原创 2017-10-15 20:03:11 · 183 阅读 · 0 评论 -
Educational Codeforces Round 30 Balanced Substring
B. Balanced Substringtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a string s consisting on原创 2017-10-15 15:37:09 · 298 阅读 · 0 评论 -
HDU 6063 RXD and math
RXD and mathProblem DescriptionRXD is a good mathematician.One day he wants to calculate:∑i=1nkμ2(i)×⌊nki−−−√⌋output the answer module 109+7.1≤n,k≤1018μ(n)=1(n=1)μ(n)=(−1原创 2017-08-02 21:53:04 · 283 阅读 · 0 评论 -
Codeforces Round #285 (Div. 2) B. Misha and Changing Handles
B. Misha and Changing Handlestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputMisha hacked the Codeforces si原创 2017-08-02 18:37:07 · 257 阅读 · 0 评论 -
Codeforces Round #286 (Div. 2) A. Mr. Kitayuta's Gift
A. Mr. Kitayuta's Gifttime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputMr. Kitayuta has kindly given you a s原创 2017-08-02 18:29:53 · 312 阅读 · 0 评论 -
Codeforces Round #427 (Div. 2) C. Star sky
C. Star skytime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe Cartesian coordinate system is set in the s原创 2017-08-02 15:03:23 · 249 阅读 · 0 评论 -
Codeforces Round #427 (Div. 2) B. The number on the board
B. The number on the boardtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputSome natural number was written原创 2017-08-02 14:55:59 · 561 阅读 · 0 评论 -
Educational Codeforces Round 4 D. The Union of k-Segments(扫描线)
题意是给你很多个区间,让你找覆盖恰好为k层的区间。 用扫描线直接做就行了。#include<iostream>#include<algorithm>#include<cstring>#include<vector>#include<cstdio>using namespace std;#define LL long lo...原创 2018-08-12 14:39:12 · 184 阅读 · 0 评论