Codeforces
文章平均质量分 90
Codeforces题库AC代码
辰chen
24考研,不定时更新,期间不对评论区进行回复
展开
-
Do Not Be Distracted!
文章目录一、Do Not Be Distracted!总结一、Do Not Be Distracted!本题链接:A. Do Not Be Distracted!题目:A. Do Not Be Distracted!time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPolycarp has 26 tasks. Each task is .原创 2021-08-01 20:30:26 · 601 阅读 · 0 评论 -
Mishka and Game
文章目录一、A. Mishka and Game总结一、A. Mishka and Game本题链接:A. Mishka and Game题目:A. Mishka and Gametime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputMishka is a little polar bear. As known, little bears .原创 2021-07-22 21:51:27 · 464 阅读 · 1 评论 -
Honest Coach
文章目录一、B. Honest Coach总结一、B. Honest Coach本题链接:B. Honest Coach题目:B. Honest Coachtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are n athletes in front of you. Athletes are numbered from .原创 2021-07-22 17:27:24 · 473 阅读 · 0 评论 -
Minimal Square
文章目录一、A. Minimal Square总结一、A. Minimal Square本题链接:A. Minimal Square题目:A. Minimal Squaretime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputFind the minimum area of a square land on which you can p.原创 2021-07-22 15:18:40 · 484 阅读 · 1 评论 -
Even Array
文章目录一、B. Even Array总结一、B. Even Array本题链接:B. Even Array题目:B. Even Arraytime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given an array a[0…n−1] of length n which consists of non-negativ.原创 2021-07-21 23:06:22 · 465 阅读 · 1 评论 -
Gifts Fixing
文章目录一、B. Gifts Fixing总结一、B. Gifts Fixing本题链接:B. Gifts Fixing题目:B. Gifts Fixingtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou have n gifts and you want to give all of them to children. Of .原创 2021-07-21 22:41:03 · 471 阅读 · 1 评论 -
Required Remainder
文章目录一、A. Required Remainder总结一、A. Required Remainder本题链接:A. Required Remainder题目:A. Required Remaindertime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given three integers x,y and n. Yo.原创 2021-07-21 20:15:48 · 485 阅读 · 1 评论 -
Team Olympiad
文章目录一、Team Olympiad总结一、Team Olympiad本题链接:A. Team Olympiad题目:A. Team Olympiadtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe School №0 of the capital of Berland has n children studying in i.原创 2021-07-21 11:32:53 · 437 阅读 · 0 评论 -
Two Arrays And Swaps
文章目录一、B. Two Arrays And Swaps总结一、B. Two Arrays And Swaps本题链接:Two Arrays And Swaps题目:B. Two Arrays And Swapstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given two arrays a and b both.原创 2021-07-21 08:26:51 · 576 阅读 · 1 评论 -
Holiday Of Equality
文章目录一、Holiday Of Equality总结一、Holiday Of Equality本题链接:A. Holiday Of Equality题目:A. Holiday Of Equalitytime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputIn Berland it is the holiday of equality. In.原创 2021-07-20 23:32:17 · 428 阅读 · 0 评论 -
Choosing Teams
文章目录一、A. Choosing Teams总结一、A. Choosing Teams本题链接:A. Choosing Teams题目:A. Chooing Teamstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe Saratov State University Olympiad Programmers Training .原创 2021-07-20 23:15:50 · 417 阅读 · 0 评论 -
The New Year: Meeting Friends
文章目录一、The New Year: Meeting Friends总结一、The New Year: Meeting Friends本题链接:The New Year: Meeting Friends题目:A. The New Year: Meeting Friendstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere a.原创 2021-07-19 16:40:19 · 491 阅读 · 2 评论 -
Balanced Array
文章目录一、Balanced Array总结一、Balanced Array本题链接: Balanced Array题目:B. Balanced Arraytime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a positive integer n, it is guaranteed that n is eve.原创 2021-07-19 16:23:54 · 644 阅读 · 0 评论 -
Short Substrings
文章目录一、Short Substrings总结一、Short Substrings本题链接:Short Substrings题目:A. Short Substringstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAlice guesses the strings that Bob made for her.At first,.原创 2021-06-14 21:43:40 · 497 阅读 · 0 评论 -
Police Recruits
文章目录一、Police Recruits总结一、Police Recruits本题链接:Police Recruits题目:A. Police Recruitstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe police department of your city has just started its journey.原创 2021-06-14 21:24:39 · 471 阅读 · 0 评论 -
Restoring Three Numbers
文章目录一、Restoring Three Numbers总结一、Restoring Three Numbers本题链接:Restoring Three Numbers题目:A. Restoring Three Numberstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPolycarp has guessed three posi.原创 2021-06-14 21:04:06 · 476 阅读 · 0 评论 -
Buy a Shovel
文章目录一、Buy a Shovel总结一、Buy a Shovel本题链接:Buy a Shovel题目:A. Buy a Shoveltime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPolycarp urgently needs a shovel! He comes to the shop and chooses an appro.原创 2021-06-14 20:39:46 · 403 阅读 · 0 评论 -
Design Tutorial: Learn from Math
文章目录一、Design Tutorial: Learn from Math总结一、Design Tutorial: Learn from Math本题链接:Design Tutorial: Learn from Math题目:A. Design Tutorial: Learn from Mathtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard ou.原创 2021-06-13 22:57:50 · 455 阅读 · 0 评论 -
Yet Another Two Integers Problem
文章目录一、Yet Another Two Integers Problem总结一、Yet Another Two Integers Problem本题链接:Yet Another Two Integers Problem题目:A. Yet Another Two Integers Problemtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard ou.原创 2021-06-13 22:23:32 · 507 阅读 · 0 评论 -
Sum of Round Numbers
文章目录一、Sum of Round Numbers总结一、Sum of Round Numbers本题链接:Sum of Round Numbers题目:A. Sum of Round Numberstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputA positive (strictly greater than zero) int.原创 2021-06-13 22:08:30 · 561 阅读 · 0 评论 -
Remove Smallest
文章目录一、Remove Smallest总结一、Remove Smallest本题链接:Remove Smallest题目:A. Remove Smallesttime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given the array a consisting of n positive (greater tha.原创 2021-06-13 21:26:11 · 531 阅读 · 0 评论 -
I_love_%username%
文章目录一、I_love_%username%总结一、I_love_%username%本题链接:题目:A. I_love_%username%time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputVasya adores sport programming. He can’t write programs but he loves to.原创 2021-06-13 20:57:24 · 546 阅读 · 0 评论 -
Vasya the Hipster
文章目录一、 Vasya the Hipster总结一、 Vasya the Hipster本题链接:Vasya the Hipster题目:A. Vasya the Hipstertime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputOne day Vasya the Hipster decided to count how many s.原创 2021-06-13 20:25:59 · 448 阅读 · 0 评论 -
New Year and Hurry
文章目录一、 New Year and Hurry总结一、 New Year and Hurry本题链接:New Year and Hurry题目:A. New Year and Hurrytime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputLimak is going to participate in a contest on the.原创 2021-06-13 19:52:44 · 462 阅读 · 0 评论 -
Fox And Snake
文章目录一、Fox And Snake总结一、Fox And Snake本题链接:题目:A. Fox And Snaketime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputFox Ciel starts to learn programming. The first task is drawing a fox! However, tha.原创 2021-06-13 19:20:02 · 426 阅读 · 0 评论 -
Candies and Two Sisters
文章目录一、Candies and Two Sisters总结一、Candies and Two Sisters本题链接:Candies and Two Sisters题目:A. Candies and Two Sisterstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are two sisters Alice and.原创 2021-06-13 16:24:05 · 455 阅读 · 0 评论 -
Amusing Joke
文章目录一、Amusing Joke总结一、Amusing Joke本题链接:Amusing Joke题目:A. Amusing Joketime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputSo, the New Year holidays are over. Santa Claus and his colleagues can tak.原创 2021-06-13 15:10:20 · 462 阅读 · 0 评论 -
Hit the Lottery
文章目录一、Hit the Lottery总结一、Hit the Lottery本题链接:Hit the Lottery题目:A. Hit the Lotterytime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAllen has a LOT of money. He has n dollars in the bank. For sec.原创 2021-06-09 00:17:16 · 671 阅读 · 1 评论 -
Anton and Polyhedrons
文章目录一、 Anton and Polyhedrons总结一、 Anton and Polyhedrons本题链接:Anton and Polyhedrons题目:A. Anton and Polyhedronstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAnton’s favourite geometric figures .原创 2021-06-08 22:42:32 · 457 阅读 · 0 评论 -
Pangram
文章目录一、Pangram总结一、Pangram本题链接:Pangram题目:A. Pangramtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputA word or a sentence in some language is called a pangram if all the characters of the alphabe.原创 2021-06-08 10:35:25 · 782 阅读 · 0 评论 -
Games
文章目录一、Games总结一、Games本题链接:Games题目:A. Gamestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputManao works on a sports TV. He’s spent much time watching the football games of some country. After a w.原创 2021-06-08 10:10:02 · 450 阅读 · 0 评论 -
Divisibility Problem
文章目录一、Divisibility Problem总结一、Divisibility Problem本题链接:Divisibility Problem题目:A. Divisibility Problemtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given two positive integers a and b.原创 2021-06-08 08:42:46 · 735 阅读 · 0 评论 -
Anton and Letters
文章目录一、Anton and Letters总结一、Anton and Letters本题链接:Anton and Letters题目:A. Anton and Letterstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputRecently, Anton has found a set. The set consists of s.原创 2021-06-08 08:11:21 · 624 阅读 · 0 评论 -
Arrival of the General
文章目录一、Arrival of the General总结一、Arrival of the General本题链接:Arrival of the General题目:A. Arrival of the Generaltime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputA Ministry for Defense sent a gene.原创 2021-06-06 15:37:49 · 447 阅读 · 0 评论 -
Is your horseshoe on the other hoof?
文章目录一、Is your horseshoe on the other hoof?总结一、Is your horseshoe on the other hoof?本题链接:Is your horseshoe on the other hoof?题目:A. Is your horseshoe on the other hoof?time limit per test2 secondsmemory limit per test256 megabytesinputstandard input.原创 2021-06-03 22:39:10 · 514 阅读 · 0 评论 -
Insomnia cure
文章目录一、Insomnia cure总结一、Insomnia cure本题链接:Insomnia cure题目:A. Insomnia curetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard output«One dragon. Two dragon. Three dragon», — the princess was counting. S.原创 2021-06-03 17:55:39 · 457 阅读 · 1 评论 -
I Wanna Be the Guy
文章目录一、 I Wanna Be the Guy总结一、 I Wanna Be the Guy本题链接: I Wanna Be the Guy题目:A. I Wanna Be the Guytime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere is a game called “I Wanna Be the Guy”, con.原创 2021-06-03 17:09:59 · 558 阅读 · 0 评论 -
Drinks
文章目录一、 Drinks总结一、 Drinks本题链接:Drinks题目:B. Drinkstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLittle Vasya loves orange juice very much. That’s why any food and drink in his kitchen necessar.原创 2021-06-03 13:12:28 · 475 阅读 · 0 评论 -
Ultra-Fast Mathematician
文章目录一、Ultra-Fast Mathematician总结一、Ultra-Fast Mathematician本题链接:Ultra-Fast Mathematician题目:A. Ultra-Fast Mathematiciantime limit per test2 secondsmemory limit per test256 megabytesnputstandard inputoutputstandard outputShapur was an extremely gif.原创 2021-06-03 11:59:36 · 517 阅读 · 0 评论 -
Calculating Function
文章目录一、Calculating Function总结一、Calculating Function本题链接:Calculating Function题目:A. Calculating Functiontime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputFor a positive integer n let’s define a fun.原创 2021-06-02 23:38:52 · 518 阅读 · 0 评论