Solutions are presented as using the least memory and the fastest execution time. It also takes the top 10 most recent solutions from each language. If you want to limit to a specific index, click the "Solved" button and go to that problem.
ContestId |
Name |
Phase |
Frozen |
Duration (Seconds) |
Relative Time |
Start Time |
---|---|---|---|---|---|---|
1003 | Codeforces Round 494 (Div. 3) | FINISHED | False | 7200 | 201194699 | July 3, 2018, 2:35 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 27297 ) | A | Polycarp's Pockets | PROGRAMMING | implementation | 700 |
B'Polycarp has n coins, the value of the i -th coin is a_i . Polycarp wants to distribute all the coins between his pockets, but he cannot put two coins with the same value into the same pocket. For example, if Polycarp has got six coins represented as an array a = [1, 2, 4, 3, 3, 2] , he can distribute the coins into two pockets as follows: [1, 2, 3], [2, 3, 4] . Polycarp wants to distribute all the coins with the minimum number of used pockets. Help him to do that. The first line of the input contains one integer n ( 1 <= n <= 100 ) -- the number of coins. The second line of the input contains n integers a_1, a_2, ... , a_n ( 1 <= a_i <= 100 ) -- values of coins. Print only one integer -- the minimum number of pockets Polycarp needs to distribute all the coins so no two coins with the same value are put into the same pocket. '... |
60417 |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
39898050 | Ahriman | A | July 3, 2018, 2:40 p.m. | OK | FPC | TESTS | 37 | 30 | 0 | 700 | |
39906340 | NoNameLeha | A | July 3, 2018, 3:07 p.m. | OK | FPC | TESTS | 37 | 31 | 0 | 700 | |
39904465 | Jarazorg | A | July 3, 2018, 3:01 p.m. | OK | FPC | TESTS | 37 | 31 | 0 | 700 | |
39903791 | 2nqt | A | July 3, 2018, 2:59 p.m. | OK | FPC | TESTS | 37 | 31 | 0 | 700 | |
39902079 | SashOK_Yatsuk | A | July 3, 2018, 2:52 p.m. | OK | FPC | TESTS | 37 | 31 | 0 | 700 | |
39900813 | kira_my | A | July 3, 2018, 2:47 p.m. | OK | FPC | TESTS | 37 | 31 | 0 | 700 | |
39900476 | Igor_2017 | A | July 3, 2018, 2:46 p.m. | OK | FPC | TESTS | 37 | 31 | 0 | 700 | |
39900394 | SvetlanaMuha2005 | A | July 3, 2018, 2:46 p.m. | OK | FPC | TESTS | 37 | 31 | 0 | 700 | |
39899907 | PAG | A | July 3, 2018, 2:45 p.m. | OK | FPC | TESTS | 37 | 31 | 0 | 700 | |
39898366 | BaluconisTima | A | July 3, 2018, 2:41 p.m. | OK | FPC | TESTS | 37 | 31 | 0 | 700 | |
39906666 | Mounika.B | A | July 3, 2018, 3:09 p.m. | OK | GNU C | TESTS | 37 | 30 | 0 | 700 | |
39903326 | lamb_ | A | July 3, 2018, 2:57 p.m. | OK | GNU C | TESTS | 37 | 30 | 0 | 700 | |
39902854 | 124115041022 | A | July 3, 2018, 2:55 p.m. | OK | GNU C | TESTS | 37 | 30 | 0 | 700 | |
39902658 | Abdollah | A | July 3, 2018, 2:54 p.m. | OK | GNU C | TESTS | 37 | 30 | 0 | 700 | |
39901858 | buzzkil | A | July 3, 2018, 2:51 p.m. | OK | GNU C | TESTS | 37 | 30 | 0 | 700 | |
39900456 | mahatibasavaraju | A | July 3, 2018, 2:46 p.m. | OK | GNU C | TESTS | 37 | 30 | 0 | 700 | |
39899905 | frank_47 | A | July 3, 2018, 2:45 p.m. | OK | GNU C | TESTS | 37 | 30 | 0 | 700 | |
39898646 | saikumar_madhadi | A | July 3, 2018, 2:42 p.m. | OK | GNU C | TESTS | 37 | 30 | 0 | 700 | |
39924017 | CSEKU_160231 | A | July 3, 2018, 4:18 p.m. | OK | GNU C | TESTS | 37 | 30 | 307200 | 700 | |
39910753 | hemanth159 | A | July 3, 2018, 3:23 p.m. | OK | GNU C | TESTS | 37 | 31 | 0 | 700 | |
39904819 | jade_belk | A | July 3, 2018, 3:02 p.m. | OK | GNU C++ | TESTS | 37 | 15 | 0 | 700 | |
39900772 | vinx26 | A | July 3, 2018, 2:47 p.m. | OK | GNU C++ | TESTS | 37 | 30 | 0 | 700 | |
39900574 | zeus.code2000 | A | July 3, 2018, 2:46 p.m. | OK | GNU C++ | TESTS | 37 | 30 | 0 | 700 | |
39900538 | hamsa_targaryn | A | July 3, 2018, 2:46 p.m. | OK | GNU C++ | TESTS | 37 | 30 | 0 | 700 | |
39900483 | karanrox98 | A | July 3, 2018, 2:46 p.m. | OK | GNU C++ | TESTS | 37 | 30 | 0 | 700 | |
39900334 | Rye_Catcher | A | July 3, 2018, 2:46 p.m. | OK | GNU C++ | TESTS | 37 | 30 | 0 | 700 | |
39900249 | Dilute | A | July 3, 2018, 2:45 p.m. | OK | GNU C++ | TESTS | 37 | 30 | 0 | 700 | |
39900148 | WAfun | A | July 3, 2018, 2:45 p.m. | OK | GNU C++ | TESTS | 37 | 30 | 0 | 700 | |
39899875 | Memoria | A | July 3, 2018, 2:45 p.m. | OK | GNU C++ | TESTS | 37 | 30 | 0 | 700 | |
39899722 | ToErr | A | July 3, 2018, 2:44 p.m. | OK | GNU C++ | TESTS | 37 | 30 | 0 | 700 | |
39904205 | Ghost0fSparta | A | July 3, 2018, 3 p.m. | OK | GNU C++11 | TESTS | 37 | 15 | 0 | 700 | |
39898359 | -T_T- | A | July 3, 2018, 2:41 p.m. | OK | GNU C++11 | TESTS | 37 | 15 | 0 | 700 | |
39897316 | shohan_oo7 | A | July 3, 2018, 2:37 p.m. | OK | GNU C++11 | TESTS | 37 | 15 | 0 | 700 | |
39913086 | singla.sahil221 | A | July 3, 2018, 3:32 p.m. | OK | GNU C++11 | TESTS | 37 | 30 | 0 | 700 | |
39906223 | shoibakhtar9611 | A | July 3, 2018, 3:07 p.m. | OK | GNU C++11 | TESTS | 37 | 30 | 0 | 700 | |
39902003 | alekser | A | July 3, 2018, 2:51 p.m. | OK | GNU C++11 | TESTS | 37 | 30 | 0 | 700 | |
39901963 | I_UsedTo_Love_You | A | July 3, 2018, 2:51 p.m. | OK | GNU C++11 | TESTS | 37 | 30 | 0 | 700 | |
39901831 | SHQAIR | A | July 3, 2018, 2:51 p.m. | OK | GNU C++11 | TESTS | 37 | 30 | 0 | 700 | |
39901651 | XLor | A | July 3, 2018, 2:50 p.m. | OK | GNU C++11 | TESTS | 37 | 30 | 0 | 700 | |
39901032 | dimagum | A | July 3, 2018, 2:48 p.m. | OK | GNU C++11 | TESTS | 37 | 30 | 0 | 700 | |
39905290 | sompreety | A | July 3, 2018, 3:04 p.m. | OK | GNU C++14 | TESTS | 37 | 15 | 0 | 700 | |
39904176 | dish_vyas | A | July 3, 2018, 3 p.m. | OK | GNU C++14 | TESTS | 37 | 15 | 0 | 700 | |
39903785 | indurisaipreethireddy | A | July 3, 2018, 2:58 p.m. | OK | GNU C++14 | TESTS | 37 | 15 | 0 | 700 | |
39903654 | sowmithc | A | July 3, 2018, 2:58 p.m. | OK | GNU C++14 | TESTS | 37 | 15 | 0 | 700 | |
39902636 | Mahmoud_Rifaat | A | July 3, 2018, 2:54 p.m. | OK | GNU C++14 | TESTS | 37 | 15 | 0 | 700 | |
39900879 | AcFreak | A | July 3, 2018, 2:47 p.m. | OK | GNU C++14 | TESTS | 37 | 15 | 0 | 700 | |
39900873 | Pushpesh_Pranjal | A | July 3, 2018, 2:47 p.m. | OK | GNU C++14 | TESTS | 37 | 15 | 0 | 700 | |
39900810 | willtryagain | A | July 3, 2018, 2:47 p.m. | OK | GNU C++14 | TESTS | 37 | 15 | 0 | 700 | |
39900683 | ankush_953 | A | July 3, 2018, 2:46 p.m. | OK | GNU C++14 | TESTS | 37 | 15 | 0 | 700 | |
39900040 | _asmah98 | A | July 3, 2018, 2:45 p.m. | OK | GNU C++14 | TESTS | 37 | 15 | 0 | 700 | |
39906467 | Hate_Math | A | July 3, 2018, 3:08 p.m. | OK | GNU C++17 | TESTS | 37 | 15 | 0 | 700 | |
39902903 | Mifta | A | July 3, 2018, 2:55 p.m. | OK | GNU C++17 | TESTS | 37 | 15 | 0 | 700 | |
39902271 | belalali98 | A | July 3, 2018, 2:53 p.m. | OK | GNU C++17 | TESTS | 37 | 15 | 0 | 700 | |
39901127 | fmash1698 | A | July 3, 2018, 2:48 p.m. | OK | GNU C++17 | TESTS | 37 | 15 | 0 | 700 | |
39901100 | pnnb1997 | A | July 3, 2018, 2:48 p.m. | OK | GNU C++17 | TESTS | 37 | 15 | 0 | 700 | |
39900738 | pulsatio | A | July 3, 2018, 2:47 p.m. | OK | GNU C++17 | TESTS | 37 | 15 | 0 | 700 | |
39899784 | refined | A | July 3, 2018, 2:45 p.m. | OK | GNU C++17 | TESTS | 37 | 15 | 0 | 700 | |
39899021 | Ivan_VAVKO | A | July 3, 2018, 2:43 p.m. | OK | GNU C++17 | TESTS | 37 | 15 | 0 | 700 | |
39898515 | NAbdulla | A | July 3, 2018, 2:42 p.m. | OK | GNU C++17 | TESTS | 37 | 15 | 0 | 700 | |
39898406 | Atyant | A | July 3, 2018, 2:41 p.m. | OK | GNU C++17 | TESTS | 37 | 15 | 0 | 700 |
Back to search problems