
水题
文章平均质量分 83
天天爆零
这个作者很懒,什么都没留下…
展开
-
codeforce div2a A. Cloning Toys
A. Cloning Toys time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Imp likes his plush toy a lot.Recently, he found a machine that can clone p原创 2018-02-19 08:57:43 · 381 阅读 · 0 评论 -
B - Pocket Cube
The Pocket Cube, also known as the Mini Cube or the Ice Cube, is the 2 × 2 × 2 equivalence of a Rubik’s Cube. The cube consists of 8 pieces, all corners. Each piece is labeled by a three dimension...原创 2018-05-26 12:34:19 · 361 阅读 · 0 评论 -
CF 436(DIV.2)c
C. Bustime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputA bus moves along the coordinate line Ox from the point x = 0 to the point x = a. After star...原创 2018-05-24 16:42:28 · 264 阅读 · 0 评论 -
C. Candies
C. Candiestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAfter passing a test, Vasya got himself a box of n candies. He decided to eat an equal am...原创 2018-06-29 14:52:14 · 701 阅读 · 0 评论 -
C. Bracket Subsequence
A bracket sequence is a string containing only characters "(" and ")". A regular bracket sequence is a bracket sequence that can be transformed into a correct arithmetic expression by inserting charac...原创 2018-09-02 15:33:04 · 370 阅读 · 0 评论 -
C. Equalize
C. Equalizetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given two binary strings aand b of the same length. You can ...原创 2018-09-03 11:08:23 · 251 阅读 · 0 评论 -
A. Vacations
Vasya has n days of vacations! So he decided to improve his IT skills and do sport. Vasya knows the following information about each of this n days: whether that gym opened and whether a contest was c...原创 2018-09-13 09:27:09 · 198 阅读 · 0 评论 -
A. Oh Those Palindromes
A non-empty string is called palindrome, if it reads the same from the left to the right and from the right to the left. For example, "abcba", "a", and "abba" are palindromes, while "abab" and "xy" ar...原创 2018-10-16 11:10:13 · 290 阅读 · 0 评论 -
C. Nastya Is Transposing Matrices
C. Nastya Is Transposing Matricestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputNastya came to her informatics lesson, and her t...原创 2019-03-13 21:58:20 · 532 阅读 · 0 评论 -
A. Valeriy and Deque
A. Valeriy and Dequetime limit per test6 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputRecently, on the course of algorithms and data structures, V...原创 2019-06-24 00:19:34 · 406 阅读 · 0 评论 -
hdu 5744
Keep On MovinTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 1607 Accepted Submission(s): 1036Problem Description Professor Zhang has kinds ...原创 2018-05-14 20:10:27 · 168 阅读 · 0 评论 -
hdu 5742
It's All In The MindTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 2300 Accepted Submission(s): 990Problem Description Professor Zhang has a...原创 2018-05-14 18:52:00 · 184 阅读 · 0 评论 -
CF div2 B. Magic Forest
B. Magic Forest time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Imp is in a magic forest, where xorangles grow (wut?)A xorangle of order n原创 2018-02-19 09:12:16 · 192 阅读 · 0 评论 -
CF 464 DIV2C
C. Convenient For Everybodytime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputIn distant future on Earth day lasts for n hours and that's why...原创 2018-03-03 16:14:52 · 208 阅读 · 0 评论 -
C. Swap Adjacent Elements
C. Swap Adjacent Elementstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou have an array a consisting of n integers. Each integer from 1 ...原创 2018-03-17 13:39:44 · 205 阅读 · 0 评论 -
CF div2 a b c
A. Points on the line time limit per test 1 second memory limit per test 256 megabytes input standard input output standard outputWe’ve got no test cases. A big olympiad is coming up. But the p原创 2018-02-25 15:51:17 · 722 阅读 · 0 评论 -
hdu 1272
小希的迷宫Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 58645 Accepted Submission(s): 18463Problem Description 上次Gardon的迷宫城堡小希玩了很久(见Problem B),现...原创 2018-03-12 20:46:24 · 177 阅读 · 0 评论 -
hdu 1232
畅通工程Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 61959 Accepted Submission(s): 33175Problem Description 某省调查城镇交通状况,得到现有城镇道路统计表,表中列出了每条道路直接...原创 2018-03-12 21:11:26 · 155 阅读 · 0 评论 -
hdu 1325
Is It A Tree?Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 27685 Accepted Submission(s): 6390Problem Description A tree is a well-known dat...原创 2018-03-13 21:15:49 · 157 阅读 · 0 评论 -
新疆大学月赛5月 A-Red Rover
题意: 给你一段字符串,让你用一个字符代替其中一个子串(如果有多个,全部代替),问你代替后子串长度加代替后的串的总长度最小是多少。思路: 才100,怎么想都可以暴力啦,但这里有一个坑,可以不代替- -#include<stdio.h>#include<iostream>#include<string.h>#include<...原创 2018-05-02 10:15:09 · 143 阅读 · 0 评论 -
hdu 5538
Have you ever played the video game Minecraft? This game has been one of the world's most popular game in recent years. The world of Minecraft is made up of lots of 1×1×1 blocks in a 3D map. Blocks ar...原创 2018-05-07 21:25:00 · 261 阅读 · 0 评论 -
被3整除
题目描述小Q得到一个神奇的数列: 1, 12, 123,...12345678910,1234567891011...。并且小Q对于能否被3整除这个性质很感兴趣。小Q现在希望你能帮他计算一下从数列的第l个到第r个(包含端点)有多少个数可以被3整除。输入描述:输入包括两个整数l和r(1 <= l <= r <= 1e9), 表示要求解的区间两端。输出描述:...原创 2019-08-13 15:08:50 · 185 阅读 · 0 评论