Технокубок 2017 - Финал (только для онсайт-финалистов)

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
780 Технокубок 2017 - Финал (только для онсайт-финалистов) FINISHED False 10800 243117899 March 5, 2017, 9:15 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 19810 ) A Andryusha and Socks PROGRAMMING implementation 900

B'Andryusha is an orderly boy and likes to keep things in their place. Today he faced a problem to put his socks in the wardrobe. He has n distinct pairs of socks which are initially in a bag. The pairs are numbered from 1 to n. Andryusha wants to put paired socks together and put them in the wardrobe. He takes the socks one by one from the bag, and for each sock he looks whether the pair of this sock has been already took out of the bag, or not. If not (that means the pair of this sock is still in the bag), he puts the current socks on the table in front of him. Otherwise, he puts both socks from the pair to the wardrobe. Andryusha remembers the order in which he took the socks from the bag. Can you tell him what is the maximum number of socks that were on the table at the same time? The first line contains the single integer n (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89105) -- the number of sock pairs. The second line contains 2n integers x1, xe2 x80 x89x2, xe2 x80 x89..., xe2 x80 x89x2n (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89xi xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n), which describe the order in which Andryusha took the socks from the bag. More precisely, xi means that the i-th sock Andryusha took out was from pair xi. It is guaranteed that Andryusha took exactly two socks of each pair. Print single integer -- the maximum number of socks that were on the table at the same time. In the first example Andryusha took a sock from the first pair and put it on the table. Then he took the next sock which is from the first pair as well, so he immediately puts both socks to the wardrobe. Thus, at most one sock was on the table at the same time. In the second example Andryusha behaved as follows: '...

Tutorials

Technocup 2017 Finals and Codeforces Round #403 Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
60742683 Ghozlan A Sept. 17, 2019, 9:31 p.m. OK Clang++17 Diagnostics TESTS 56 841 409600 900
67177464 Dariush_M A Dec. 18, 2019, 8:04 p.m. OK Clang++17 Diagnostics TESTS 56 842 102400 900
63720515 TianPingXing A Oct. 29, 2019, 11:13 a.m. OK Clang++17 Diagnostics TESTS 56 1918 6348800 900
26221457 VitalijD A April 8, 2017, 2:41 p.m. OK Delphi TESTS 56 31 2969600 900
25238423 Holidin A March 5, 2017, 9:19 a.m. OK Delphi TESTS 56 31 2969600 900
25417018 ya_yan A March 11, 2017, 7:44 p.m. OK FPC TESTS 56 31 1740800 900
25457431 dambosin A March 13, 2017, 3:48 p.m. OK FPC TESTS 56 31 2048000 900
47335524 luogu_bot3 A Dec. 21, 2018, 2:56 p.m. OK FPC TESTS 56 46 409600 900
46191292 luogu_bot5 A Nov. 25, 2018, 5:20 a.m. OK FPC TESTS 56 46 409600 900
26815955 Shadowest A May 3, 2017, 9:20 a.m. OK FPC TESTS 56 46 1740800 900
26238112 UNDogMan A April 9, 2017, 1:25 p.m. OK FPC TESTS 56 46 1740800 900
25681079 WC4F A March 21, 2017, 6:15 a.m. OK FPC TESTS 56 46 1740800 900
25634881 IOI.McDean A March 19, 2017, 4:24 a.m. OK FPC TESTS 56 46 1740800 900
25528299 Yegor_S A March 15, 2017, 6:11 p.m. OK FPC TESTS 56 46 1740800 900
25389486 Roka A March 10, 2017, 9:25 p.m. OK FPC TESTS 56 46 1740800 900
30818712 MarcosK A Sept. 29, 2017, 2 a.m. OK GNU C TESTS 56 46 409600 900
27618139 ghoshsai5000 A June 6, 2017, 4:25 p.m. OK GNU C TESTS 56 46 409600 900
27614492 ghoshsai5000 A June 6, 2017, 1:10 p.m. OK GNU C TESTS 56 46 409600 900
27533480 yamstudio A June 3, 2017, 1:15 a.m. OK GNU C TESTS 56 46 409600 900
27443096 Rizro A May 30, 2017, 8:22 a.m. OK GNU C TESTS 56 46 409600 900
27219067 mehthab A May 19, 2017, 5:06 p.m. OK GNU C TESTS 56 46 409600 900
26902870 Jeel_Vaishnav A May 6, 2017, 1:57 p.m. OK GNU C TESTS 56 46 409600 900
32527513 Debasish1610177113 A Nov. 21, 2017, 2:02 p.m. OK GNU C TESTS 56 46 512000 900
26958990 shreya2205 A May 8, 2017, 2:44 p.m. OK GNU C TESTS 56 46 819200 900
26952390 45sakib A May 8, 2017, 7:45 a.m. OK GNU C TESTS 56 46 819200 900
39698573 Jessie01 A June 27, 2018, 10:32 a.m. OK GNU C++ TESTS 56 30 409600 900
25497644 HeyByeSummerTime A March 15, 2017, 12:21 p.m. OK GNU C++ TESTS 56 30 2150400 900
27299531 Gurutamin A May 23, 2017, 10:57 a.m. OK GNU C++ TESTS 56 46 102400 900
32109313 vjudge1 A Nov. 7, 2017, 3:47 a.m. OK GNU C++ TESTS 56 46 102400 900
41417279 vjudge2 A Aug. 10, 2018, 4:34 a.m. OK GNU C++ TESTS 56 46 204800 900
27499204 vjudge3 A June 1, 2017, 3:40 p.m. OK GNU C++ TESTS 56 46 204800 900
41417339 vjudge2 A Aug. 10, 2018, 4:40 a.m. OK GNU C++ TESTS 56 46 204800 900
26994895 Aust_rafid_xrf A May 10, 2017, 11:35 a.m. OK GNU C++ TESTS 56 46 307200 900
40982121 ReaLNero1 A July 30, 2018, 6:16 p.m. OK GNU C++ TESTS 56 46 409600 900
32538484 vjudge1 A Nov. 22, 2017, 1:49 a.m. OK GNU C++ TESTS 56 46 409600 900
64543504 0xbaadf00d A Nov. 8, 2019, 7:31 p.m. OK GNU C11 TESTS 56 46 102400 900
63632325 Balkrushna1 A Oct. 28, 2019, 6:52 a.m. OK GNU C11 TESTS 56 46 409600 900
49922730 arashmehraabi A Feb. 14, 2019, 7:56 p.m. OK GNU C11 TESTS 56 46 409600 900
56476620 You_Know_Who A July 3, 2019, 1:26 p.m. OK GNU C11 TESTS 56 46 409600 900
56865767 Iftekhar_Fahim_CoU12ICT9 A July 12, 2019, 2:57 a.m. OK GNU C11 TESTS 56 46 409600 900
56865839 Iftekhar_Fahim_CoU12ICT9 A July 12, 2019, 3 a.m. OK GNU C11 TESTS 56 46 409600 900
60654733 DevJewel A Sept. 15, 2019, 9:58 p.m. OK GNU C11 TESTS 56 46 409600 900
47825483 Kexon5 A Jan. 1, 2019, 10:07 p.m. OK GNU C11 TESTS 56 46 819200 900
58710484 _null_ptr_ A Aug. 13, 2019, 12:02 p.m. OK GNU C11 TESTS 56 46 1228800 900
34188466 TZillion A Jan. 15, 2018, 4:15 a.m. OK GNU C11 TESTS 56 46 2252800 900
27772289 one0one A June 14, 2017, 10:37 a.m. OK GNU C++11 TESTS 56 15 921600 900
27015346 HideLord A May 11, 2017, 2:29 p.m. OK GNU C++11 TESTS 56 15 2048000 900
25387236 Jarug A March 10, 2017, 7:04 p.m. OK GNU C++11 TESTS 56 15 2867200 900
65462135 luogu_bot2 A Nov. 21, 2019, 3:07 a.m. OK GNU C++11 TESTS 56 31 0 900
58373258 XZ20220135 A Aug. 6, 2019, 7:23 a.m. OK GNU C++11 TESTS 56 31 102400 900
28766067 VAVAvile A July 22, 2017, 1:14 a.m. OK GNU C++11 TESTS 56 31 2150400 900
26486804 alex20030190 A April 19, 2017, 2:19 a.m. OK GNU C++11 TESTS 56 31 2457600 900
25238324 aleex A March 5, 2017, 9:18 a.m. OK GNU C++11 TESTS 56 31 3072000 900
62369990 Kylin_ A Oct. 11, 2019, 3:02 p.m. OK GNU C++11 TESTS 56 31 3788800 900
44361302 shusuke_fuji A Oct. 15, 2018, 2:40 p.m. OK GNU C++11 TESTS 56 46 0 900
25238380 Egor.Lifar A March 5, 2017, 9:18 a.m. OK GNU C++14 TESTS 56 15 2048000 900
56155425 i.am.jasbir.singh A June 27, 2019, 9:58 a.m. OK GNU C++14 TESTS 56 46 0 900
27513009 realbaraa A June 2, 2017, 1:29 a.m. OK GNU C++14 TESTS 56 46 102400 900
27484520 alfadel A June 1, 2017, 12:27 p.m. OK GNU C++14 TESTS 56 46 1024000 900
62612216 zb_123 A Oct. 15, 2019, 10:12 a.m. OK GNU C++14 TESTS 56 46 1536000 900
25238400 Farhit A March 5, 2017, 9:19 a.m. OK GNU C++14 TESTS 56 46 2048000 900
25238238 gars A March 5, 2017, 9:17 a.m. OK GNU C++14 TESTS 56 46 2048000 900
25823824 toster1287 A March 26, 2017, 4:39 p.m. OK GNU C++14 TESTS 56 46 2252800 900
35777130 vjudge1 A Feb. 28, 2018, 7:30 a.m. OK GNU C++14 TESTS 56 46 2252800 900
35782612 vjudge4 A Feb. 28, 2018, 11:33 a.m. OK GNU C++14 TESTS 56 46 2252800 900
57296710 DarkVoid A July 18, 2019, 7:43 p.m. OK GNU C++17 TESTS 56 46 0 900
40397534 Jaihk662 A July 16, 2018, 6:05 a.m. OK GNU C++17 TESTS 56 46 409600 900
68765016 vjudge1 A Jan. 14, 2020, 9:35 a.m. OK GNU C++17 TESTS 56 61 102400 900
55526431 lee-jinhen A June 13, 2019, 11:24 a.m. OK GNU C++17 TESTS 56 62 0 900
62095183 mkornaukhov A Oct. 8, 2019, 7:15 a.m. OK GNU C++17 TESTS 56 62 0 900
60839919 bahaa A Sept. 19, 2019, 10:32 a.m. OK GNU C++17 TESTS 56 62 102400 900
59255483 VivekUchiha A Aug. 22, 2019, 6:26 a.m. OK GNU C++17 TESTS 56 62 102400 900
63722840 TianZuiXing A Oct. 29, 2019, 11:50 a.m. OK GNU C++17 TESTS 56 62 102400 900
68746852 vjudge1 A Jan. 14, 2020, 5:03 a.m. OK GNU C++17 TESTS 56 62 102400 900
68749108 vjudge2 A Jan. 14, 2020, 6:01 a.m. OK GNU C++17 TESTS 56 62 102400 900
25679081 yuliang A March 21, 2017, 2:25 a.m. OK Go TESTS 56 62 26931200 900
25422955 stczhc A March 12, 2017, 3:29 a.m. OK Haskell TESTS 56 1076 81817600 900
57887410 jmazon A July 28, 2019, 10:32 a.m. OK Haskell TESTS 56 1435 18944000 900
32286785 Musin A Nov. 13, 2017, 2:25 p.m. OK Java 8 TESTS 56 124 0 900
31848019 dinesh_raj7 A Oct. 28, 2017, 6:36 p.m. OK Java 8 TESTS 56 124 0 900
27053444 prashanth_rebala A May 12, 2017, 12:03 p.m. OK Java 8 TESTS 56 124 0 900
59666303 BerserkVl A Aug. 29, 2019, 2:18 p.m. OK Java 8 TESTS 56 124 2048000 900
68787508 Marwan10 A Jan. 14, 2020, 2:56 p.m. OK Java 8 TESTS 56 140 0 900
48434280 samer_ghaly A Jan. 15, 2019, 7:16 p.m. OK Java 8 TESTS 56 140 0 900
67992226 Ameliorate A Dec. 31, 2019, 5:49 a.m. OK Java 8 TESTS 56 140 2048000 900
57722914 Dejokz A July 25, 2019, 6:13 a.m. OK Java 8 TESTS 56 140 2048000 900
50073128 Harbin A Feb. 17, 2019, 7:05 p.m. OK Java 8 TESTS 56 140 2048000 900
30822692 kocko A Sept. 29, 2017, 7:38 a.m. OK Java 8 TESTS 56 140 2252800 900
45411907 fayzzz A Nov. 7, 2018, 12:27 p.m. OK JavaScript TESTS 56 155 18329600 900
25537745 bluered A March 16, 2017, 3:43 a.m. OK JavaScript TESTS 56 171 24883200 900
29957445 Petruchcho A Aug. 31, 2017, 7:07 p.m. OK Kotlin TESTS 56 187 4198400 900
69917167 h__h A Jan. 31, 2020, 5:14 p.m. OK Kotlin TESTS 56 374 102400 900
25445287 Dmkret A March 13, 2017, 12:59 a.m. OK Kotlin TESTS 56 421 21196800 900
25899547 AlexSh777 A March 29, 2017, 3:44 p.m. OK Mono C# TESTS 56 61 9113600 900
45211227 Rodik_Rody A Nov. 2, 2018, 3:16 p.m. OK Mono C# TESTS 56 93 17100800 900
35119457 abdo10002022 A Feb. 10, 2018, 9:53 a.m. OK Mono C# TESTS 56 93 23654400 900
68769201 75number A Jan. 14, 2020, 11:12 a.m. OK Mono C# TESTS 56 108 20070400 900
68036182 mban259 A Jan. 1, 2020, 12:09 p.m. OK Mono C# TESTS 56 109 22323200 900
43713399 nemars A Oct. 3, 2018, 5:41 a.m. OK Mono C# TESTS 56 218 19148800 900
35204014 Ali_Fayed A Feb. 13, 2018, 3:28 p.m. OK Mono C# TESTS 56 1731 26828800 900
31825582 aceeca1 A Oct. 28, 2017, 5:54 a.m. OK MS C# TESTS 56 93 14233600 900
25238435 basfor2022 A March 5, 2017, 9:19 a.m. OK MS C# TESTS 56 93 22016000 900
25712764 superbeller A March 22, 2017, 1:33 p.m. OK MS C# TESTS 56 93 22220800 900
25420703 Deniska A March 11, 2017, 11:22 p.m. OK MS C# TESTS 56 93 22630400 900
26524369 uric86 A April 20, 2017, 6:39 p.m. OK MS C# TESTS 56 93 23449600 900
25497160 duronto A March 15, 2017, 12:01 p.m. OK MS C# TESTS 56 93 26828800 900
25887446 mitutee A March 29, 2017, 4:42 a.m. OK MS C# TESTS 56 93 27648000 900
25482166 tiancai A March 14, 2017, 4:56 p.m. OK MS C# TESTS 56 108 29081600 900
25409340 Rabid A March 11, 2017, 3:01 p.m. OK MS C# TESTS 56 108 29184000 900
25875685 BASSxGRAND A March 28, 2017, 2:10 p.m. OK MS C# TESTS 56 109 27648000 900
27235340 Ckasper A May 20, 2017, 12:44 p.m. OK MS C++ TESTS 56 31 1638400 900
68764014 vjudge1 A Jan. 14, 2020, 9:13 a.m. OK MS C++ TESTS 56 46 409600 900
68747656 vjudge4 A Jan. 14, 2020, 5:25 a.m. OK MS C++ TESTS 56 46 409600 900
68746844 vjudge4 A Jan. 14, 2020, 5:02 a.m. OK MS C++ TESTS 56 46 409600 900
68746772 vjudge4 A Jan. 14, 2020, 5 a.m. OK MS C++ TESTS 56 46 409600 900
68746413 vjudge3 A Jan. 14, 2020, 4:49 a.m. OK MS C++ TESTS 56 46 409600 900
68746309 vjudge5 A Jan. 14, 2020, 4:46 a.m. OK MS C++ TESTS 56 46 409600 900
68746521 vjudge5 A Jan. 14, 2020, 4:52 a.m. OK MS C++ TESTS 56 46 1228800 900
68753599 vjudge5 A Jan. 14, 2020, 7:33 a.m. OK MS C++ TESTS 56 46 2048000 900
26138369 xsc A April 5, 2017, 8:19 a.m. OK MS C++ TESTS 56 46 2150400 900
68757158 vjudge2 A Jan. 14, 2020, 8:17 a.m. OK MS C++ 2017 TESTS 56 77 2048000 900
68746824 vjudge1 A Jan. 14, 2020, 5:02 a.m. OK MS C++ 2017 TESTS 56 77 16076800 900
63721145 TianSunXing A Oct. 29, 2019, 11:24 a.m. OK MS C++ 2017 TESTS 56 78 409600 900
55560738 parisa.mqdm A June 14, 2019, 12:31 p.m. OK MS C++ 2017 TESTS 56 156 102400 900
58256781 hosein_bidaki A Aug. 4, 2019, 10:25 a.m. OK MS C++ 2017 TESTS 56 156 409600 900
53200496 zahra.kh A April 23, 2019, 5:32 p.m. OK MS C++ 2017 TESTS 56 171 102400 900
64834052 ivan72 A Nov. 13, 2019, 4:04 p.m. OK MS C++ 2017 TESTS 56 171 307200 900
64835691 ivan72 A Nov. 13, 2019, 4:11 p.m. OK MS C++ 2017 TESTS 56 171 307200 900
63724608 TianPingXing A Oct. 29, 2019, 12:21 p.m. OK MS C++ 2017 TESTS 56 171 409600 900
64111240 Baniya_09 A Nov. 2, 2019, 6:45 p.m. OK MS C++ 2017 TESTS 56 171 409600 900
25486064 lifted A March 14, 2017, 9:01 p.m. OK Ocaml TESTS 56 61 4096000 900
46285480 AnteeOne A Nov. 27, 2018, 3:54 p.m. OK PascalABC.NET TESTS 56 139 3174400 900
46826916 mr.Abdu A Dec. 9, 2018, 7:05 p.m. OK PascalABC.NET TESTS 56 140 3584000 900
56176690 Gimber A June 27, 2019, 7:35 p.m. OK PascalABC.NET TESTS 56 327 0 900
69696234 Nidavellir A Jan. 28, 2020, 8:37 p.m. OK PascalABC.NET TESTS 56 467 204800 900
25762358 praveenkulkarni A March 24, 2017, 3:54 a.m. OK Perl TESTS 56 217 33484800 900
25532839 shangtai A March 15, 2017, 8:34 p.m. OK PyPy 2 TESTS 56 124 34406400 900
64622933 nosy A Nov. 10, 2019, 7:33 a.m. OK PyPy 2 TESTS 56 202 10956800 900
34425320 Rasaeldit A Jan. 21, 2018, 9:13 p.m. OK PyPy 3 TESTS 56 202 36659200 900
49851915 MEJlAHXOJluK A Feb. 13, 2019, 4:31 a.m. OK PyPy 3 TESTS 56 218 16691200 900
35602183 nonis A Feb. 23, 2018, 4:08 p.m. OK PyPy 3 TESTS 56 218 43417600 900
25239279 party_up A March 5, 2017, 9:42 a.m. OK PyPy 3 TESTS 56 264 38400000 900
67483627 PS41 A Dec. 23, 2019, 4:44 p.m. OK PyPy 3 TESTS 56 265 15155200 900
30039871 KienMN A Sept. 3, 2017, 4:51 p.m. OK PyPy 3 TESTS 56 265 15564800 900
67014565 Pechalka A Dec. 16, 2019, 11:03 a.m. OK PyPy 3 TESTS 56 265 15769600 900
68998553 CryUnderRain A Jan. 17, 2020, 6:28 p.m. OK PyPy 3 TESTS 56 265 18022400 900
43547691 WhatsInItForMe A Sept. 28, 2018, 8:22 p.m. OK PyPy 3 TESTS 56 265 18534400 900
66577504 silvergray A Dec. 10, 2019, 8 a.m. OK PyPy 3 TESTS 56 265 19148800 900
32347641 xiaowuc1 A Nov. 16, 2017, 5:34 a.m. OK Python 2 TESTS 56 155 13312000 900
25445882 Leti A March 13, 2017, 2:46 a.m. OK Python 2 TESTS 56 155 20992000 900
26559438 ajmx A April 21, 2017, 4:04 p.m. OK Python 2 TESTS 56 171 17203200 900
26560021 ajmx A April 21, 2017, 4:09 p.m. OK Python 2 TESTS 56 187 17305600 900
32347647 scott_wu A Nov. 16, 2017, 5:34 a.m. OK Python 2 TESTS 56 218 11059200 900
34218604 franckmy A Jan. 16, 2018, 10:17 a.m. OK Python 2 TESTS 56 218 15564800 900
28895066 bit10011001 A July 26, 2017, 5:56 a.m. OK Python 2 TESTS 56 218 16691200 900
25628420 ryuzakii A March 18, 2017, 7:53 p.m. OK Python 2 TESTS 56 233 15667200 900
43703056 FlyingBag65 A Oct. 2, 2018, 7:42 p.m. OK Python 2 TESTS 56 234 13516800 900
27822775 WalterKovacs A June 16, 2017, 10:37 a.m. OK Python 2 TESTS 56 249 11161600 900
53677100 sonhuytranpython2 A May 2, 2019, 4:35 p.m. OK Python 3 TESTS 56 171 13312000 900
26284341 kirov.verst A April 10, 2017, 9:11 p.m. OK Python 3 TESTS 56 171 16691200 900
34225183 Hoss A Jan. 16, 2018, 3:02 p.m. OK Python 3 TESTS 56 171 19456000 900
27923592 vchilikov A June 20, 2017, 11:20 a.m. OK Python 3 TESTS 56 187 11980800 900
27088459 Kirononame A May 13, 2017, 12:17 p.m. OK Python 3 TESTS 56 187 14848000 900
25655962 tsotniko A March 19, 2017, 9:42 p.m. OK Python 3 TESTS 56 187 16691200 900
25467333 codeTank A March 14, 2017, 7:03 a.m. OK Python 3 TESTS 56 187 17920000 900
25656133 tsotniko A March 19, 2017, 9:57 p.m. OK Python 3 TESTS 56 187 18227200 900
25646161 kitsaway A March 19, 2017, 12:46 p.m. OK Python 3 TESTS 56 187 18227200 900
28297722 Nodir_Bobiev A July 5, 2017, 7:37 a.m. OK Python 3 TESTS 56 187 19558400 900
25571978 yigezhe A March 17, 2017, 12:27 p.m. OK Ruby TESTS 56 280 25804800 900
44172194 jedikni A Oct. 12, 2018, 6:37 a.m. OK Ruby TESTS 56 311 35430400 900
25429708 orailly A March 12, 2017, 9:34 a.m. OK Ruby TESTS 56 326 28160000 900
25688807 yigezhe A March 21, 2017, 12:59 p.m. OK Ruby TESTS 56 343 28876800 900
29029289 sinapusu2002 A July 30, 2017, 11:32 p.m. OK Ruby TESTS 56 405 40140800 900
29029469 belovedeagle A July 30, 2017, 11:54 p.m. OK Rust TESTS 56 31 5222400 900

remove filters

Back to search problems