codeforce
第三题真的很简单qwq
学好编程
展开
-
codeforces-round#640 D-Alice, Bob and Candies
*## *Alice, Bob and Candiestime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard output**There are n candies in a row, they are numbered from left to right from 1 to n. The size of the i-th candy is ai.Alice原创 2020-05-10 11:59:07 · 333 阅读 · 0 评论 -
codeforces--round#634 B-Construct the String
Construct the Stringtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given three positive integers n, a and b. You have to construct a...原创 2020-04-21 16:29:37 · 236 阅读 · 0 评论 -
TYUT-codeforce-----Remove Duplicates
Remove DuplicatesPetya has an array a consisting of n integers. He wants to remove duplicate (equal) elements.Petya wants to leave only the rightmost entry (occurrence) for each element of the array...原创 2020-04-20 21:33:40 · 158 阅读 · 0 评论 -
TYUT-codeforce-----File Name
File NameYou can not just take the file and send it. When Polycarp trying to send a file in the social network “Codehorses”, he encountered an unexpected problem. If the name of the file contains thr...原创 2020-04-20 21:30:30 · 207 阅读 · 0 评论 -
TYUT-codeforce-----Minesweeper
MinesweeperOne day Alex decided to remember childhood when computers were not too powerful and lots of people played only default games. Alex enjoyed playing Minesweeper that time. He imagined that h...原创 2020-04-19 22:25:29 · 207 阅读 · 0 评论