![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
日常训练
00000koi
这个作者很懒,什么都没留下…
展开
-
训练一
一、A - Vicious KeyboardTonio has a keyboard with only two letters, "V" and "K".One day, he has typed out a stringswith only these two letters. He really likes it when the string "VK" appears, so ...原创 2019-03-31 18:36:14 · 175 阅读 · 0 评论 -
Let's Chat
ACM (ACMers' Chatting Messenger) is a famous instant messaging software developed by Marjar Technology Company. To attract more users, Edward, the boss of Marjar Company, has recently added a new feat...原创 2019-04-28 12:42:23 · 440 阅读 · 0 评论 -
Draw Something Cheat ZOJ - 3603
Have you playedDraw Something? It's currently one of the hottest social drawing games on Apple iOS and Android Devices! In this game, you and your friend play in turn. You need to pick a word and dra...原创 2019-05-03 19:47:48 · 112 阅读 · 0 评论 -
What Kind of Friends Are You?
Japari Park is a large zoo home to extant species, endangered species, extinct species, cryptids and some legendary creatures. Due to a mysterious substance known asSandstar, all the animals have bec...原创 2019-04-28 21:10:59 · 162 阅读 · 0 评论 -
Lazier Salesgirl ZOJ - 3607
Kochiya Sanae is a lazy girl who makes and sells bread. She is an expert at bread making and selling. She can sell thei-th customer a piece of bread for pricepi. But she is so lazy that she will fal...原创 2019-05-03 21:41:48 · 182 阅读 · 0 评论 -
Peak ZOJ - 4024
看所给序列是否(严格)满足先递增,后递减。是输出“Yes”,不是输出“No”。#include<iostream>#include<cstring>#include<iostream>#include<cstring>#include<cstdio>#include<algorithm>#inclu...原创 2019-04-29 20:45:33 · 155 阅读 · 0 评论 -
King of Karaoke ZOJ - 4025
It's Karaoke time! DreamGrid is performing the song Powder Snow in the game King of Karaoke. The song performed by DreamGrid can be considered as an integer sequence , and the standard version of the ...原创 2019-04-29 21:59:22 · 188 阅读 · 0 评论 -
Mergeable Stack ZOJ - 4016
DescriptionGivennninitially empty stacks, there are three types of operations:1sv: Push the valuevvonto the top of thess-th stack.2s: Pop the topmost value out of thess-th stack, and pri...原创 2019-04-30 21:34:54 · 90 阅读 · 0 评论 -
K-Nice ZOJ - 3212
This is a super simple problem. The description is simple, the solution is simple. If you believe so, just read it on. Or if you don't, just pretend that you can't see this one.We say an element is ...原创 2019-05-08 22:01:06 · 146 阅读 · 0 评论 -
Safecracker HDU - 1015 (搜索)
=== Op tech briefing, 2002/11/02 06:42 CST ==="The item is locked in a Klein safe behind a painting in the second-floor library. Klein safes are extremely rare; most of them, along with Klein and hi...原创 2019-05-06 19:51:11 · 160 阅读 · 0 评论 -
Friends ZOJ - 3710
Alice lives in the country where people like to make friends. The friendship is bidirectional and if any two person have no less thankfriends in common, they will become friends in several days. Cur...原创 2019-05-02 22:33:20 · 137 阅读 · 0 评论 -
纯纯的暴力 Break Standard Weight ZOJ - 3706
Thebalancewas the first mass measuring instrument invented. In its traditional form, it consists of a pivoted horizontal lever of equal length arms, called the beam, with a weighing pan, also called...原创 2019-05-02 21:25:18 · 107 阅读 · 0 评论 -
A - Password
Asterix, Obelix and their temporary buddies Suffix and Prefix has finally found the Harmony temple. However, its doors were firmly locked and even Obelix had no luck opening them.A little later they...原创 2019-04-07 16:25:17 · 371 阅读 · 0 评论 -
Find Amir
A few years ago Sajjad left his school and register to another one due to security reasons. Now he wishes to find Amir, one of his schoolmates and good friends.There arenschools numerated from1t...原创 2019-04-02 21:32:34 · 164 阅读 · 0 评论 -
训练
一、Counting Kangaroos is FunThere arenkangaroos with pockets. Each kangaroo has a size (integer number). A kangaroo can go into another kangaroo's pocket if and only if the size of kangaroo who hol...原创 2019-04-21 11:01:31 · 131 阅读 · 0 评论 -
训练
一、A - Round HouseVasya lives in a round building, whose entrances are numbered sequentially by integers from1ton. Entrancenand entrance1are adjacent.Today Vasya got bored and decided to ...原创 2019-04-16 22:35:49 · 149 阅读 · 0 评论 -
Access System ZOJ - 3787
For security issues,Marjar Universityhas an access control system for each dormitory building.The system requires the students to use their personal identification cards to open the gate if they wan...原创 2019-05-01 20:49:39 · 110 阅读 · 0 评论 -
What day is that day? ZOJ - 3785
It's Saturday today, what day is it after 1^1+ 2^2+ 3^3+ ... +N^Ndays?InputThere are multiple test cases. The first line of input contains an integerTindicating the number of test cases. For...原创 2019-05-01 21:18:15 · 118 阅读 · 0 评论 -
Mahjong Sorting ZOJ - 4034
DreamGrid has just found a set of Mahjong withsuited tiles and a White Dragon tile in his pocket. Each suited tile has a suit (Character, Bamboo or Dot) and a rank (ranging from 1 to), and there is...原创 2019-04-27 19:04:56 · 179 阅读 · 0 评论 -
Java Beans ZOJ - 3714
There areNlittle kids sitting in a circle, each of them are carrying some java beans in their hand. Their teacher want to selectMkids who seated inMconsecutive seats and collect java beans from ...原创 2019-05-02 18:58:33 · 133 阅读 · 0 评论 -
Hard to Play ZOJ - 3712
MightyHorseis playing a music game calledosu!.After playing for several months,MightyHorsediscovered the way of calculating score inosu!:1. While playingosu!, player need to click some ...原创 2019-05-02 19:39:34 · 150 阅读 · 0 评论 -
Break Standard Weight ZOJ - 3706
The vast power system is the most complicated man-made system and the greatest engineering innovation in the 20th century. The following diagram shows a typical 14 bus power system. In real world, the...原创 2019-05-02 21:08:22 · 93 阅读 · 0 评论