Technocup 2019 - Elimination Round 3

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
1032 Technocup 2019 - Elimination Round 3 FINISHED False 8400 189266099 Nov. 18, 2018, 4:05 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 6872 ) A Kitchen Utensils PROGRAMMING 1100

B"The king's birthday dinner was attended by k guests. The dinner was quite a success: every person has eaten several dishes (though the number of dishes was the same for every person) and every dish was served alongside with a new set of kitchen utensils. All types of utensils in the kingdom are numbered from 1 to 100 . It is known that every set of utensils is the same and consist of different types of utensils, although every particular type may appear in the set at most once. For example, a valid set of utensils can be composed of one fork, one spoon and one knife. After the dinner was over and the guests were dismissed, the king wondered what minimum possible number of utensils could be stolen. Unfortunately, the king has forgotten how many dishes have been served for every guest but he knows the list of all the utensils left after the dinner. Your task is to find the minimum possible number of stolen utensils. The first line contains two integer numbers n and k ( 1 <= n <= 100, 1 <= k <= 100 ) -- the number of kitchen utensils remaining after the dinner and the number of guests correspondingly. The next line contains n integers a_1, a_2, ldots, a_n ( 1 <= a_i <= 100 ) -- the types of the utensils remaining. Equal values stand for identical utensils while different values stand for different utensils. Output a single value -- the minimum number of utensils that could be stolen by the guests. In the first example it is clear that at least one utensil of type 3 has been stolen, since there are two guests and only one such utensil. But it is also possible that every person received only one dish and there were only six utensils in total, when every person got a set (1, 2, 3) of utensils. Therefore, the answer is 1 . One can show that in the second example at least 2 dishes should have been served for every guest, so the number of utensils should be at least 24 : ever"...

Tutorials

Codeforces Round #522 and Technocup 2019 Elimination Round 3 Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
46238180 quandapro A Nov. 26, 2018, 5:36 a.m. OK Clang++17 Diagnostics TESTS 23 46 0 1100
50537871 moisey_99 A Feb. 26, 2019, 4:36 p.m. OK Clang++17 Diagnostics TESTS 23 46 1024000 1100
45924551 kozlitin A Nov. 18, 2018, 4:32 p.m. OK Delphi TESTS 23 31 102400 1100
46268159 Timagrachev A Nov. 27, 2018, 5:33 a.m. OK Delphi TESTS 23 31 102400 1100
45922283 7r1 A Nov. 18, 2018, 4:22 p.m. OK Delphi TESTS 23 31 102400 1100
45923936 Proskurnikov A Nov. 18, 2018, 4:29 p.m. OK Delphi TESTS 23 31 102400 1100
45921553 zhuravlevvik A Nov. 18, 2018, 4:18 p.m. OK Delphi TESTS 23 31 102400 1100
45936747 ogaMoga A Nov. 18, 2018, 5:51 p.m. OK Delphi TESTS 23 31 204800 1100
45925548 DarkAvengerr A Nov. 18, 2018, 4:37 p.m. OK FPC TESTS 23 30 0 1100
45921550 Oompaloompa A Nov. 18, 2018, 4:18 p.m. OK FPC TESTS 23 30 0 1100
45937439 VladimirCes A Nov. 18, 2018, 5:52 p.m. OK FPC TESTS 23 30 0 1100
45929850 QAZZY A Nov. 18, 2018, 4:58 p.m. OK FPC TESTS 23 30 0 1100
45932604 Lipton A Nov. 18, 2018, 5:13 p.m. OK FPC TESTS 23 31 0 1100
45927891 Keeper_machine A Nov. 18, 2018, 4:48 p.m. OK FPC TESTS 23 31 0 1100
50676181 NDK218 A March 2, 2019, 9:22 a.m. OK FPC TESTS 23 31 0 1100
50672240 NDK218 A March 2, 2019, 7:37 a.m. OK FPC TESTS 23 31 0 1100
45953110 1Demiurg A Nov. 19, 2018, 7:40 a.m. OK FPC TESTS 23 31 0 1100
45935174 romanporsh A Nov. 18, 2018, 5:32 p.m. OK FPC TESTS 23 31 0 1100
45973008 PoRain A Nov. 19, 2018, 4:54 p.m. OK GNU C11 TESTS 23 15 0 1100
46992861 STYX_HELIX A Dec. 14, 2018, 6:11 a.m. OK GNU C11 TESTS 23 15 0 1100
48624102 kangfeel A Jan. 20, 2019, 12:54 p.m. OK GNU C11 TESTS 23 15 0 1100
46754540 guodongxinxin A Dec. 8, 2018, 10:59 a.m. OK GNU C11 TESTS 23 15 0 1100
47808659 stone_leaves A Jan. 1, 2019, 9:25 a.m. OK GNU C11 TESTS 23 30 0 1100
48363977 notsoawesome A Jan. 13, 2019, 8:12 p.m. OK GNU C11 TESTS 23 30 0 1100
50610074 RoyalMoon A Feb. 28, 2019, 4:27 p.m. OK GNU C11 TESTS 23 30 0 1100
50610154 CellCoin A Feb. 28, 2019, 4:30 p.m. OK GNU C11 TESTS 23 30 0 1100
50987895 HanaIroha A March 7, 2019, 8:23 p.m. OK GNU C11 TESTS 23 30 0 1100
51615609 NoSoul A March 21, 2019, 12:19 p.m. OK GNU C11 TESTS 23 30 0 1100
45922501 RT3799 A Nov. 18, 2018, 4:23 p.m. OK GNU C++11 TESTS 23 15 0 1100
45922882 kleverty A Nov. 18, 2018, 4:24 p.m. OK GNU C++11 TESTS 23 15 0 1100
45924560 ilya1806 A Nov. 18, 2018, 4:32 p.m. OK GNU C++11 TESTS 23 15 0 1100
45949156 hanifadzkiya A Nov. 19, 2018, 4:16 a.m. OK GNU C++11 TESTS 23 15 0 1100
46037205 uvalover A Nov. 21, 2018, 5:06 p.m. OK GNU C++11 TESTS 23 15 0 1100
47538313 Theofratus A Dec. 27, 2018, 4:51 a.m. OK GNU C++11 TESTS 23 15 0 1100
48513113 DavidLescano A Jan. 18, 2019, 12:48 a.m. OK GNU C++11 TESTS 23 15 0 1100
49231301 theSmartGuy A Jan. 31, 2019, 5:43 a.m. OK GNU C++11 TESTS 23 15 0 1100
49904355 GUIDANCER A Feb. 14, 2019, 11:12 a.m. OK GNU C++11 TESTS 23 15 0 1100
51402800 aligh42 A March 17, 2019, 8:18 a.m. OK GNU C++11 TESTS 23 15 0 1100
56974402 ishika251298 A July 13, 2019, 11:39 a.m. OK GNU C++14 TESTS 23 15 0 1100
59854086 homda189 A Sept. 1, 2019, 12:48 p.m. OK GNU C++14 TESTS 23 15 0 1100
57626959 KaziMuktadir A July 24, 2019, 7:23 a.m. OK GNU C++14 TESTS 23 15 0 1100
55268060 vjudge5 A June 7, 2019, 3:15 p.m. OK GNU C++14 TESTS 23 15 0 1100
54260702 lyfe A May 17, 2019, 1:14 a.m. OK GNU C++14 TESTS 23 15 0 1100
51302872 vjudge4 A March 14, 2019, 3:17 p.m. OK GNU C++14 TESTS 23 15 0 1100
50796995 the_one_thing A March 4, 2019, 7:15 p.m. OK GNU C++14 TESTS 23 15 0 1100
50505543 ABM97 A Feb. 25, 2019, 7:29 p.m. OK GNU C++14 TESTS 23 15 0 1100
49562463 harshlukka A Feb. 7, 2019, 1:17 p.m. OK GNU C++14 TESTS 23 15 0 1100
49461780 qwert21 A Feb. 4, 2019, 1:21 p.m. OK GNU C++14 TESTS 23 15 0 1100
50240897 JYILY_xiaoxiong A Feb. 20, 2019, 12:53 p.m. OK GNU C++17 TESTS 23 15 0 1100
51347850 Firou1925 A March 15, 2019, 7:31 p.m. OK GNU C++17 TESTS 23 15 0 1100
51380893 smuqe24 A March 16, 2019, 4:12 p.m. OK GNU C++17 TESTS 23 15 0 1100
51448108 aleonov A March 18, 2019, 1:26 p.m. OK GNU C++17 TESTS 23 15 0 1100
55230303 vjudge4 A June 7, 2019, 5:10 a.m. OK GNU C++17 TESTS 23 15 0 1100
58268120 lxyb A Aug. 4, 2019, 3:34 p.m. OK GNU C++17 TESTS 23 15 0 1100
58352631 abhinav_rwt A Aug. 5, 2019, 5:52 p.m. OK GNU C++17 TESTS 23 15 0 1100
63427887 baby_baby_baby_ooh A Oct. 26, 2019, 8:21 a.m. OK GNU C++17 TESTS 23 15 0 1100
65550967 IstiakAhmedSifat A Nov. 22, 2019, 6:55 p.m. OK GNU C++17 TESTS 23 15 0 1100
69632317 matumbaman A Jan. 27, 2020, 5:32 p.m. OK GNU C++17 TESTS 23 15 0 1100
53045845 23948762 A April 20, 2019, 12:07 p.m. OK Go TESTS 23 30 0 1100
49382881 caro33 A Feb. 3, 2019, 4:12 a.m. OK Go TESTS 23 31 0 1100
45922285 Ars2014 A Nov. 18, 2018, 4:22 p.m. OK Go TESTS 23 62 0 1100
51274967 jedikni A March 13, 2019, 8:24 p.m. OK Haskell TESTS 23 31 102400 1100
47016263 sinapusu2002 A Dec. 14, 2018, 7:12 p.m. OK Haskell TESTS 23 31 8396800 1100
63937921 potatmen A Oct. 31, 2019, 4:30 p.m. OK Java 11 TESTS 23 171 0 1100
47300511 Ox. A Dec. 20, 2018, 1:59 p.m. OK Java 8 TESTS 23 109 0 1100
46439203 CharlesDai A Dec. 1, 2018, 11 a.m. OK Java 8 TESTS 23 109 0 1100
46438551 Rustemhak A Dec. 1, 2018, 10:40 a.m. OK Java 8 TESTS 23 109 0 1100
46412613 sgrdg A Nov. 30, 2018, 5:43 p.m. OK Java 8 TESTS 23 109 0 1100
46297824 flydzt A Nov. 28, 2018, 5:02 a.m. OK Java 8 TESTS 23 109 0 1100
46011352 beroul A Nov. 20, 2018, 8:43 p.m. OK Java 8 TESTS 23 109 0 1100
45948111 chdharm A Nov. 19, 2018, 3:12 a.m. OK Java 8 TESTS 23 109 0 1100
45946079 Mackenzie A Nov. 19, 2018, 12:22 a.m. OK Java 8 TESTS 23 109 0 1100
45927591 PhoeniXPlay_DEV A Nov. 18, 2018, 4:46 p.m. OK Java 8 TESTS 23 109 0 1100
45921494 PDDMain A Nov. 18, 2018, 4:18 p.m. OK Java 8 TESTS 23 109 0 1100
53541444 I.A.K.O.V A April 30, 2019, 7:01 a.m. OK Kotlin TESTS 23 109 0 1100
45921127 mrfoxygmfr A Nov. 18, 2018, 4:16 p.m. OK Kotlin TESTS 23 155 0 1100
48608025 iev A Jan. 20, 2019, 12:03 p.m. OK Kotlin TESTS 23 155 204800 1100
45922570 Lishy2010 A Nov. 18, 2018, 4:23 p.m. OK Kotlin TESTS 23 156 921600 1100
49839388 marcel.windys A Feb. 12, 2019, 5:39 p.m. OK Mono C# TESTS 23 46 0 1100
49336424 Askander A Feb. 1, 2019, 6:43 p.m. OK Mono C# TESTS 23 46 0 1100
46125450 Maksimonchik A Nov. 23, 2018, 6:48 p.m. OK Mono C# TESTS 23 46 0 1100
46101009 rprakash15 A Nov. 23, 2018, 5:50 a.m. OK Mono C# TESTS 23 46 0 1100
45926586 downloads A Nov. 18, 2018, 4:41 p.m. OK Mono C# TESTS 23 46 0 1100
45932291 neevin A Nov. 18, 2018, 5:11 p.m. OK Mono C# TESTS 23 62 0 1100
45927468 Bolshakov_Nikita A Nov. 18, 2018, 4:46 p.m. OK Mono C# TESTS 23 62 0 1100
45927348 abikosik3000 A Nov. 18, 2018, 4:45 p.m. OK Mono C# TESTS 23 62 3584000 1100
48855020 Etterna A Jan. 23, 2019, 6:32 p.m. OK Mono C# TESTS 23 62 3686400 1100
45932277 vitaliusik A Nov. 18, 2018, 5:11 p.m. OK Mono C# TESTS 23 77 0 1100
55231875 vjudge2 A June 7, 2019, 6:10 a.m. OK MS C++ TESTS 23 15 0 1100
46782400 GU_GUGU A Dec. 9, 2018, 3:48 a.m. OK MS C++ TESTS 23 15 0 1100
46791144 h1832469982 A Dec. 9, 2018, 8:23 a.m. OK MS C++ TESTS 23 15 0 1100
55268083 vjudge3 A June 7, 2019, 3:17 p.m. OK MS C++ TESTS 23 30 0 1100
54996119 vjudge1 A June 2, 2019, 11:55 p.m. OK MS C++ TESTS 23 30 0 1100
46791018 vjudge3 A Dec. 9, 2018, 8:21 a.m. OK MS C++ TESTS 23 30 0 1100
46134247 Liquor2020 A Nov. 24, 2018, 4:30 a.m. OK MS C++ TESTS 23 30 0 1100
45936912 vbifrhenyfdctulf A Nov. 18, 2018, 5:51 p.m. OK MS C++ TESTS 23 30 0 1100
48398080 volly A Jan. 14, 2019, 6:50 p.m. OK MS C++ TESTS 23 30 0 1100
48515329 debuggggging A Jan. 18, 2019, 3:18 a.m. OK MS C++ TESTS 23 30 0 1100
49235120 Daedalus_xwdsh A Jan. 31, 2019, 7:36 a.m. OK MS C++ 2017 TESTS 23 31 0 1100
64019492 CtrlAlt A Nov. 1, 2019, 3:33 p.m. OK MS C++ 2017 TESTS 23 31 0 1100
55421131 Mad112233 A June 11, 2019, 6:33 a.m. OK MS C++ 2017 TESTS 23 31 0 1100
55091255 st1vdy A June 4, 2019, 2:38 p.m. OK MS C++ 2017 TESTS 23 31 0 1100
51469144 123hola A March 19, 2019, 5:03 a.m. OK MS C++ 2017 TESTS 23 31 0 1100
50377470 petrenslavik A Feb. 23, 2019, 11:42 a.m. OK MS C++ 2017 TESTS 23 31 0 1100
50062533 DevMaxxx A Feb. 17, 2019, 1:19 p.m. OK MS C++ 2017 TESTS 23 31 0 1100
49856755 tk72HS A Feb. 13, 2019, 7:35 a.m. OK MS C++ 2017 TESTS 23 31 0 1100
49454310 aanchal511 A Feb. 4, 2019, 9:21 a.m. OK MS C++ 2017 TESTS 23 31 0 1100
49446572 siew24 A Feb. 4, 2019, 3:43 a.m. OK MS C++ 2017 TESTS 23 31 0 1100
51307414 Garffan A March 14, 2019, 5:31 p.m. OK Node.js TESTS 23 156 512000 1100
45928511 YanaM A Nov. 18, 2018, 4:51 p.m. OK PascalABC.NET TESTS 23 31 0 1100
45929766 Nikitashv A Nov. 18, 2018, 4:57 p.m. OK PascalABC.NET TESTS 23 31 0 1100
45929128 Sokolov15 A Nov. 18, 2018, 4:54 p.m. OK PascalABC.NET TESTS 23 46 0 1100
45929922 Redul A Nov. 18, 2018, 4:58 p.m. OK PascalABC.NET TESTS 23 46 0 1100
45929004 Daimos A Nov. 18, 2018, 4:54 p.m. OK PascalABC.NET TESTS 23 46 0 1100
47037674 NYARENARD A Dec. 15, 2018, 1:08 p.m. OK PascalABC.NET TESTS 23 46 0 1100
45932993 Lizaveta_She1 A Nov. 18, 2018, 5:15 p.m. OK PascalABC.NET TESTS 23 46 0 1100
45932643 TakoSpb A Nov. 18, 2018, 5:13 p.m. OK PascalABC.NET TESTS 23 46 0 1100
45930316 alexey.moskvinov A Nov. 18, 2018, 5 p.m. OK PascalABC.NET TESTS 23 46 0 1100
45929941 DaniilB A Nov. 18, 2018, 4:58 p.m. OK PascalABC.NET TESTS 23 46 0 1100
45923837 rustgainutdinov A Nov. 18, 2018, 4:29 p.m. OK PHP TESTS 23 31 0 1100
45943590 mayakin A Nov. 18, 2018, 9:06 p.m. OK PHP TESTS 23 46 0 1100
46059698 clobap A Nov. 22, 2018, 12:44 p.m. OK PHP TESTS 23 46 409600 1100
49236313 pracode A Jan. 31, 2019, 8:13 a.m. OK PyPy 2 TESTS 23 171 0 1100
46124977 AIshutin A Nov. 23, 2018, 6:32 p.m. OK PyPy 3 TESTS 23 124 0 1100
45999621 karpik A Nov. 20, 2018, 1:54 p.m. OK PyPy 3 TESTS 23 124 0 1100
45928158 PuShOk A Nov. 18, 2018, 4:49 p.m. OK PyPy 3 TESTS 23 124 0 1100
45925197 Masorubka A Nov. 18, 2018, 4:35 p.m. OK PyPy 3 TESTS 23 124 0 1100
45921317 Captainum A Nov. 18, 2018, 4:17 p.m. OK PyPy 3 TESTS 23 124 0 1100
58187601 brosucks A Aug. 2, 2019, 5:51 p.m. OK PyPy 3 TESTS 23 124 0 1100
45920767 JTD_V A Nov. 18, 2018, 4:14 p.m. OK PyPy 3 TESTS 23 124 0 1100
56717749 nayan21garg A July 8, 2019, 3:21 p.m. OK PyPy 3 TESTS 23 139 0 1100
45936365 dimazilla123 A Nov. 18, 2018, 5:40 p.m. OK PyPy 3 TESTS 23 139 0 1100
45925299 Mikl05 A Nov. 18, 2018, 4:36 p.m. OK PyPy 3 TESTS 23 139 0 1100
47384247 biltharesatyendra A Dec. 23, 2018, 2:27 a.m. OK Python 2 TESTS 23 170 0 1100
49046552 hbc31 A Jan. 27, 2019, 9:03 a.m. OK Python 2 TESTS 23 171 0 1100
48546222 ashutosh7561 A Jan. 18, 2019, 7:43 p.m. OK Python 2 TESTS 23 171 0 1100
48067686 zdrosb A Jan. 7, 2019, 7:14 p.m. OK Python 2 TESTS 23 171 0 1100
47865686 0xVikas A Jan. 3, 2019, 9:32 a.m. OK Python 2 TESTS 23 171 0 1100
49478072 Temirulan A Feb. 4, 2019, 8:32 p.m. OK Python 2 TESTS 23 186 0 1100
45935820 WinnerJust A Nov. 18, 2018, 5:35 p.m. OK Python 2 TESTS 23 187 0 1100
50041400 pootis A Feb. 17, 2019, 2:16 a.m. OK Python 2 TESTS 23 187 0 1100
46302512 Mulx10 A Nov. 28, 2018, 7:59 a.m. OK Python 2 TESTS 23 187 102400 1100
55401035 franckmy A June 10, 2019, 2:04 p.m. OK Python 2 TESTS 23 187 102400 1100
53970856 ckyungk A May 10, 2019, 8:56 p.m. OK Python 3 TESTS 23 93 0 1100
49095944 abhijeet1069 A Jan. 28, 2019, 9:51 a.m. OK Python 3 TESTS 23 93 0 1100
48958248 qwasd34 A Jan. 26, 2019, 5:33 a.m. OK Python 3 TESTS 23 93 0 1100
48100490 mohammadazib581 A Jan. 8, 2019, 8:10 p.m. OK Python 3 TESTS 23 93 0 1100
48059925 Mani4614 A Jan. 7, 2019, 2:33 p.m. OK Python 3 TESTS 23 93 0 1100
51303883 Immortal1738 A March 14, 2019, 3:47 p.m. OK Python 3 TESTS 23 108 0 1100
51367463 metziger66 A March 16, 2019, 10:22 a.m. OK Python 3 TESTS 23 108 0 1100
51261805 Namzoo A March 13, 2019, 1:39 p.m. OK Python 3 TESTS 23 108 0 1100
49752577 graceoflives A Feb. 11, 2019, 3:56 a.m. OK Python 3 TESTS 23 108 0 1100
48335227 Neo18 A Jan. 13, 2019, 2:49 p.m. OK Python 3 TESTS 23 108 0 1100
45938209 Otkloneniye A Nov. 18, 2018, 5:56 p.m. OK Ruby TESTS 23 62 204800 1100
46187654 s-k-y A Nov. 25, 2018, 12:43 a.m. OK Rust TESTS 23 30 0 1100
46000384 johnchen902 A Nov. 20, 2018, 2:12 p.m. OK Rust TESTS 23 31 0 1100
45923216 Dx18 A Nov. 18, 2018, 4:26 p.m. OK Rust TESTS 23 46 0 1100
48308090 Shasfin A Jan. 12, 2019, 9:31 p.m. OK Scala TESTS 23 452 0 1100

remove filters

Back to search problems