codeforces
文章平均质量分 76
Wenorm
这个人很懒,什么都没说
展开
-
codeforces-1399C-Boats Competition
C. Boats Competitiontime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere arennpeople who want to participate in a boat competition. The weight of theii-th participant iswiwi. Only...原创 2020-08-14 19:18:21 · 567 阅读 · 0 评论 -
codeforces-1399B-Gifts Fixing
B. Gifts Fixingtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou havenngifts and you want to give all of them to children. Of course, you don't want to offend anyone, so all gifts s..原创 2020-08-14 18:47:46 · 389 阅读 · 0 评论 -
codeforces-1399A-Remove Smallest
A. Remove Smallesttime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given the arrayaaconsisting ofnnpositive (greater than zero) integers.In one move, you can choose two ind...原创 2020-08-14 17:13:15 · 671 阅读 · 0 评论 -
978A. Remove Duplicates
A. Remove Duplicatestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPetya has an array aa consisting of nn integers. He wants to remove duplicate (...原创 2018-05-21 18:19:58 · 331 阅读 · 0 评论 -
codeforces 865A Save the problem!
A. Save the problem!time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAttention: we lost all the test cases原创 2017-10-01 12:19:04 · 491 阅读 · 0 评论 -
codeforces——Counting-out Rhyme
B. Counting-out Rhymen children are standing in a circle and playing the counting-out game. Children are numbered clockwise from1 to n. In the beginning, the first child is considered the leader. The game is played ink steps. In the i-th step the leader c原创 2017-03-28 11:15:36 · 558 阅读 · 0 评论