map
-
Codeforces Round #489 (Div. 2) : A. Nastya and an Array정렬(Sort) 2018. 6. 19. 10:45
http://codeforces.com/contest/992/problem/A 1. 문제A. Nastya and an Arraytime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard output Nastya owns too many arrays now, so she wants to delete the least important of them. However, she discovered that this array is magic! Nastya now knows that the array has the following properties: In one second we can add an ..