Codeforces Round 100

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
140 Codeforces Round 100 FINISHED False 7200 412268351 Jan. 4, 2012, 3 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 4419 ) C New Year Snowmen PROGRAMMING binary search data structures greedy 1800

B"As meticulous Gerald sets the table and caring Alexander sends the postcards, Sergey makes snowmen. Each showman should consist of three snowballs: a big one, a medium one and a small one. Sergey's twins help him: they've already made n snowballs with radii equal to r1, r2, ..., rn. To make a snowman, one needs any three snowballs whose radii are pairwise different. For example, the balls with radii 1, 2 and 3 can be used to make a snowman but 2, 2, 3 or 2, 2, 2 cannot. Help Sergey and his twins to determine what maximum number of snowmen they can make from those snowballs. The first line contains integer n (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89105) -- the number of snowballs. The next line contains n integers -- the balls' radii r1, r2, ..., rn (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89ri xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89109). The balls' radii can coincide. Print on the first line a single number k -- the maximum number of the snowmen. Next k lines should contain the snowmen's descriptions. The description of each snowman should consist of three space-separated numbers -- the big ball's radius, the medium ball's radius and the small ball's radius. It is allowed to print the snowmen in any order. If there are several solutions, print any of them."...

Tutorials

Codeforces Round #100: problem analysis

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
56474788 vjudge5 C July 3, 2019, 12:41 p.m. OK Clang++17 Diagnostics TESTS 51 1370 25497600 1800
51682158 rr_ C March 22, 2019, 1:06 p.m. OK D TESTS 51 310 22528000 1800
1761781 Ramp C June 3, 2012, 6:43 p.m. OK Delphi TESTS 51 60 13004800 1800
5559788 FxF C Dec. 29, 2013, 4:57 p.m. OK Delphi TESTS 51 62 2764800 1800
2470197 Misha100896 C Oct. 30, 2012, 11:11 a.m. OK Delphi TESTS 51 78 819200 1800
1005110 worms C Jan. 4, 2012, 4:08 p.m. OK Delphi TESTS 51 80 2457600 1800
1013234 Mazeev C Jan. 5, 2012, 3:21 p.m. OK Delphi TESTS 51 80 2560000 1800
1010915 Toshik C Jan. 4, 2012, 8:12 p.m. OK Delphi TESTS 51 80 3788800 1800
999267 tourist C Jan. 4, 2012, 3:14 p.m. OK Delphi TESTS 51 80 8089600 1800
2167931 FlyingAround C Sept. 14, 2012, 7:27 a.m. OK Delphi TESTS 51 80 11878400 1800
1028192 alik C Jan. 10, 2012, 2:06 p.m. OK Delphi TESTS 51 90 8192000 1800
1026145 eldar C Jan. 9, 2012, 11:41 a.m. OK Delphi TESTS 51 90 8192000 1800
3365138 Nik_Storm_2010 C March 21, 2013, 12:40 p.m. OK FPC TESTS 51 78 4915200 1800
2856933 Electronick C Dec. 30, 2012, 12:35 p.m. OK FPC TESTS 51 78 17408000 1800
1005348 tjmts C Jan. 4, 2012, 4:10 p.m. OK FPC TESTS 51 80 3379200 1800
2088745 gskhirtladze C Sept. 1, 2012, 7:09 p.m. OK FPC TESTS 51 80 3788800 1800
1010958 Dima_qwer C Jan. 4, 2012, 8:27 p.m. OK FPC TESTS 51 80 3993600 1800
1584127 KF2017 C April 19, 2012, 10:06 a.m. OK FPC TESTS 51 80 8192000 1800
1584126 Fedosik C April 19, 2012, 10:05 a.m. OK FPC TESTS 51 80 8192000 1800
1013335 winterwolf94 C Jan. 5, 2012, 4:05 p.m. OK FPC TESTS 51 90 2252800 1800
1027126 serega.belarus C Jan. 9, 2012, 9:33 p.m. OK FPC TESTS 51 90 2662400 1800
1025609 serega.belarus C Jan. 9, 2012, 6:41 a.m. OK FPC TESTS 51 90 2662400 1800
1010966 Sender C Jan. 4, 2012, 8:31 p.m. OK GNU C TESTS 51 110 3788800 1800
1010885 mage C Jan. 4, 2012, 8:05 p.m. OK GNU C TESTS 51 130 2969600 1800
1004177 kawatea C Jan. 4, 2012, 3:58 p.m. OK GNU C TESTS 51 140 6144000 1800
8396315 jorgeba007 C Oct. 24, 2014, 11:17 p.m. OK GNU C TESTS 51 154 2457600 1800
8396309 nobita C Oct. 24, 2014, 11:16 p.m. OK GNU C TESTS 51 154 2457600 1800
8396392 rafaUNA C Oct. 24, 2014, 11:41 p.m. OK GNU C TESTS 51 154 4915200 1800
3410225 aiiYuu C March 27, 2013, 4:15 a.m. OK GNU C++ TESTS 51 78 1638400 1800
3909154 scarecrow07 C June 17, 2013, 10:25 a.m. OK GNU C++ TESTS 51 78 2969600 1800
1025583 Raptor C Jan. 9, 2012, 6:31 a.m. OK GNU C++ TESTS 51 80 2662400 1800
1060770 xwchen C Jan. 16, 2012, 3:34 p.m. OK GNU C++ TESTS 51 90 2560000 1800
1001782 lovro C Jan. 4, 2012, 3:35 p.m. OK GNU C++ TESTS 51 90 2662400 1800
1006153 Eclipse C Jan. 4, 2012, 4:20 p.m. OK GNU C++ TESTS 51 90 4608000 1800
1004390 ksb C Jan. 4, 2012, 4 p.m. OK GNU C++ TESTS 51 90 4608000 1800
19597142 vjudge1 C Aug. 3, 2016, 12:11 p.m. OK GNU C++ TESTS 51 92 409600 1800
19435898 maopao C July 27, 2016, 7:37 a.m. OK GNU C++ TESTS 51 92 409600 1800
7750706 Ownz C Sept. 12, 2014, 11:19 a.m. OK GNU C++ TESTS 51 92 409600 1800
1045822 Archon.JK C Jan. 14, 2012, 11:15 p.m. OK GNU C++0x TESTS 51 90 2252800 1800
7200176 user32 C July 22, 2014, 6:50 a.m. OK GNU C++0x TESTS 51 92 1228800 1800
1000147 Archon.JK C Jan. 4, 2012, 3:21 p.m. OK GNU C++0x TESTS 51 110 2969600 1800
1008681 ztk C Jan. 4, 2012, 4:53 p.m. OK GNU C++0x TESTS 51 110 4608000 1800
7674681 HandIeNeeded C Sept. 3, 2014, 1:15 p.m. OK GNU C++0x TESTS 51 122 2457600 1800
9962964 danielfleischman C Feb. 22, 2015, 7:57 p.m. OK GNU C++0x TESTS 51 124 2457600 1800
6264413 gonglinyuan C April 5, 2014, 1:31 p.m. OK GNU C++0x TESTS 51 124 2662400 1800
5193164 lovefly1983 C Nov. 22, 2013, 3:59 p.m. OK GNU C++0x TESTS 51 124 3686400 1800
4435085 yutaka1999 C Sept. 9, 2013, 10:58 a.m. OK GNU C++0x TESTS 51 124 3788800 1800
9300955 _iris_ C Dec. 29, 2014, 8:06 p.m. OK GNU C++0x TESTS 51 124 4198400 1800
64914726 Joan27 C Nov. 15, 2019, 3:09 a.m. OK GNU C11 TESTS 51 374 819200 1800
64910158 jozeca199 C Nov. 15, 2019, 2:33 a.m. OK GNU C11 TESTS 51 374 921600 1800
64993162 romi_alfonzo C Nov. 15, 2019, 4:47 a.m. OK GNU C11 TESTS 51 374 1638400 1800
64769904 JoseMedina27 C Nov. 12, 2019, 10:24 p.m. OK GNU C11 TESTS 51 404 819200 1800
64651543 QuisVenator C Nov. 10, 2019, 5:25 p.m. OK GNU C11 TESTS 51 404 819200 1800
64610035 willgonzz C Nov. 10, 2019, 12:28 a.m. OK GNU C11 TESTS 51 404 921600 1800
64610011 jozeca199 C Nov. 10, 2019, 12:26 a.m. OK GNU C11 TESTS 51 404 921600 1800
64738149 jozeca199 C Nov. 12, 2019, 11:05 a.m. OK GNU C11 TESTS 51 404 921600 1800
65035993 diemanuel99 C Nov. 15, 2019, 11:39 a.m. OK GNU C11 TESTS 51 404 2764800 1800
64907182 guiga C Nov. 14, 2019, 11:11 p.m. OK GNU C11 TESTS 51 404 3481600 1800
51882447 vjudge5 C March 27, 2019, 3:04 a.m. OK GNU C++11 TESTS 51 92 614400 1800
44985803 lijyya C Oct. 28, 2018, 10:18 a.m. OK GNU C++11 TESTS 51 92 1433600 1800
64278785 m_she C Nov. 4, 2019, 11:56 p.m. OK GNU C++11 TESTS 51 92 2252800 1800
62770188 KH18 C Oct. 17, 2019, 10 a.m. OK GNU C++11 TESTS 51 92 2764800 1800
64476443 xiaolin3 C Nov. 7, 2019, 2:32 p.m. OK GNU C++11 TESTS 51 92 3072000 1800
63353978 M_sea C Oct. 25, 2019, 12:48 a.m. OK GNU C++11 TESTS 51 92 3072000 1800
57147514 XZ20220135 C July 16, 2019, 1:30 p.m. OK GNU C++11 TESTS 51 92 3174400 1800
60205592 Karry5307 C Sept. 7, 2019, 8 a.m. OK GNU C++11 TESTS 51 92 3174400 1800
60248309 vjudge2 C Sept. 8, 2019, 4:52 a.m. OK GNU C++11 TESTS 51 92 3174400 1800
64727879 vjudge4 C Nov. 12, 2019, 7:11 a.m. OK GNU C++11 TESTS 51 92 3174400 1800
28053846 pa4o C June 26, 2017, 9:15 a.m. OK GNU C++14 TESTS 51 92 5939200 1800
28052012 cscscs C June 26, 2017, 7:45 a.m. OK GNU C++14 TESTS 51 122 4915200 1800
29619369 z13 C Aug. 20, 2017, 11:21 a.m. OK GNU C++14 TESTS 51 124 921600 1800
32543667 gaporf C Nov. 22, 2017, 8:03 a.m. OK GNU C++14 TESTS 51 124 1433600 1800
55502060 vjudge2 C June 12, 2019, 3:37 p.m. OK GNU C++14 TESTS 51 124 1536000 1800
46265418 vjudge4 C Nov. 27, 2018, 1:56 a.m. OK GNU C++14 TESTS 51 124 1638400 1800
56127504 mahabir10 C June 26, 2019, 5:28 p.m. OK GNU C++14 TESTS 51 124 1740800 1800
64618035 vjudge1 C Nov. 10, 2019, 5:46 a.m. OK GNU C++14 TESTS 51 124 2457600 1800
67466243 xvenom99 C Dec. 23, 2019, 11:10 a.m. OK GNU C++14 TESTS 51 124 2560000 1800
48773607 vjudge3 C Jan. 23, 2019, 2:24 a.m. OK GNU C++14 TESTS 51 124 2764800 1800
48548018 AminAnvari C Jan. 18, 2019, 9:25 p.m. OK GNU C++17 TESTS 51 122 1024000 1800
46265342 xuanweiace C Nov. 27, 2018, 1:49 a.m. OK GNU C++17 TESTS 51 122 1638400 1800
51618056 igba C March 21, 2019, 1:13 p.m. OK GNU C++17 TESTS 51 124 819200 1800
64315797 vjudge3 C Nov. 5, 2019, 2:04 p.m. OK GNU C++17 TESTS 51 124 1638400 1800
62082887 Kallaseldor C Oct. 7, 2019, 10:13 p.m. OK GNU C++17 TESTS 51 124 1843200 1800
46253977 vjudge4 C Nov. 26, 2018, 3:35 p.m. OK GNU C++17 TESTS 51 124 2457600 1800
64674710 karry44 C Nov. 11, 2019, 7:33 a.m. OK GNU C++17 TESTS 51 124 2969600 1800
44324111 NoB-tree C Oct. 14, 2018, 3:16 p.m. OK GNU C++17 TESTS 51 124 3072000 1800
46272580 vjudge3 C Nov. 27, 2018, 9:13 a.m. OK GNU C++17 TESTS 51 124 3174400 1800
46466821 diefun C Dec. 2, 2018, 4:02 a.m. OK GNU C++17 TESTS 51 124 3174400 1800
62347529 synapse C Oct. 11, 2019, 8:11 a.m. OK Go TESTS 51 248 4608000 1800
16800058 mishagam C March 19, 2016, 3:03 a.m. OK Go TESTS 51 498 10547200 1800
1071404 cojna C Jan. 17, 2012, 10:39 a.m. OK Haskell TESTS 51 640 22016000 1800
1068934 cojna C Jan. 16, 2012, 4:59 p.m. OK Haskell TESTS 51 1410 43110400 1800
1007056 calculus.saransh C Jan. 4, 2012, 4:32 p.m. OK Java 6 TESTS 51 170 43417600 1800
1016540 rajatag12 C Jan. 7, 2012, 5:55 p.m. OK Java 6 TESTS 51 190 43417600 1800
1005425 dai1741 C Jan. 4, 2012, 4:11 p.m. OK Java 6 TESTS 51 220 43417600 1800
1003102 S.Yesipenko C Jan. 4, 2012, 3:47 p.m. OK Java 6 TESTS 51 220 43417600 1800
1001585 Petr C Jan. 4, 2012, 3:34 p.m. OK Java 6 TESTS 51 220 43417600 1800
1237521 Nova C Feb. 26, 2012, 5:59 p.m. OK Java 6 TESTS 51 220 45158400 1800
1002298 chavit C Jan. 4, 2012, 3:40 p.m. OK Java 6 TESTS 51 230 43417600 1800
1002293 alexey.enkov C Jan. 4, 2012, 3:40 p.m. OK Java 6 TESTS 51 230 43520000 1800
999481 ivan.popelyshev C Jan. 4, 2012, 3:16 p.m. OK Java 6 TESTS 51 230 43520000 1800
1012704 Di735 C Jan. 5, 2012, 11:36 a.m. OK Java 6 TESTS 51 230 45363200 1800
2293420 trunghieu11 C Oct. 2, 2012, 5:43 p.m. OK Java 7 TESTS 51 218 204800 1800
4473046 0p9o8i C Sept. 14, 2013, 9:11 p.m. OK Java 7 TESTS 51 280 307200 1800
10237665 monsterspy C March 11, 2015, 1:47 p.m. OK Java 7 TESTS 51 372 1740800 1800
6503029 ykcland C April 29, 2014, 1:42 a.m. OK Java 7 TESTS 51 372 10137600 1800
7545121 AndreiNet C Aug. 21, 2014, 3:32 p.m. OK Java 7 TESTS 51 374 307200 1800
5398888 upsolving C Dec. 9, 2013, 5:41 p.m. OK Java 7 TESTS 51 374 1331200 1800
14752297 mIchanic C Dec. 11, 2015, 3:02 a.m. OK Java 7 TESTS 51 404 921600 1800
11835806 ahmmad2244 C June 29, 2015, 11:43 a.m. OK Java 7 TESTS 51 404 2048000 1800
6509463 kylesky C April 30, 2014, 8:36 a.m. OK Java 7 TESTS 51 404 2662400 1800
6716306 Javanochka C May 26, 2014, 2:51 p.m. OK Java 7 TESTS 51 436 307200 1800
39242809 bluesky111 C June 14, 2018, noon OK Java 8 TESTS 51 404 2355200 1800
34400564 Yoyo2014 C Jan. 21, 2018, 4:46 a.m. OK Java 8 TESTS 51 404 25088000 1800
67993708 GiantTornado C Dec. 31, 2019, 6:46 a.m. OK Java 8 TESTS 51 434 2457600 1800
53275677 mennafadali C April 25, 2019, 9:15 a.m. OK Java 8 TESTS 51 434 5939200 1800
27334713 kunal_khatri C May 25, 2017, 11:14 a.m. OK Java 8 TESTS 51 436 2457600 1800
23413783 da_201501181 C Dec. 30, 2016, 6:34 a.m. OK Java 8 TESTS 51 436 24780800 1800
53321363 mennafadali C April 26, 2019, 1:02 p.m. OK Java 8 TESTS 51 466 2969600 1800
30623282 Ajudiya_13 C Sept. 22, 2017, 6:38 p.m. OK Java 8 TESTS 51 466 3481600 1800
37870968 reyad C May 3, 2018, 7:58 p.m. OK Java 8 TESTS 51 466 27238400 1800
17391661 Conioooo C April 19, 2016, 7:33 p.m. OK Java 8 TESTS 51 468 24883200 1800
1016989 hamid_h C Jan. 8, 2012, 7:12 a.m. OK Mono C# TESTS 51 300 28672000 1800
1003639 chokudai C Jan. 4, 2012, 3:52 p.m. OK Mono C# TESTS 51 410 29593600 1800
15425170 og.kostya C Jan. 18, 2016, 10:08 a.m. OK MS C# TESTS 51 248 13004800 1800
1003229 Vedensky C Jan. 4, 2012, 3:48 p.m. OK MS C++ TESTS 51 90 2150400 1800
1004812 wangchaohui C Jan. 4, 2012, 4:05 p.m. OK MS C++ TESTS 51 90 2560000 1800
1705324 vjudge3 C May 20, 2012, 6:31 a.m. OK MS C++ TESTS 51 90 5734400 1800
8267678 Semelkin_Andrey C Oct. 16, 2014, 5:16 p.m. OK MS C++ TESTS 51 92 921600 1800
64552183 vjudge4 C Nov. 9, 2019, 12:35 a.m. OK MS C++ TESTS 51 92 26419200 1800
3818502 azim__ C June 3, 2013, 11:31 a.m. OK MS C++ TESTS 51 93 1228800 1800
3257191 qian99 C March 6, 2013, 5:25 a.m. OK MS C++ TESTS 51 93 3174400 1800
3473010 yzwsm C April 4, 2013, 12:54 p.m. OK MS C++ TESTS 51 93 5222400 1800
1097584 TingTings C Jan. 20, 2012, 3:35 p.m. OK MS C++ TESTS 51 110 1843200 1800
1009478 Fdg C Jan. 4, 2012, 5:41 p.m. OK MS C++ TESTS 51 110 2969600 1800
61683223 tyf0530 C Oct. 2, 2019, 2:29 a.m. OK MS C++ 2017 TESTS 51 218 8192000 1800
61711942 vjudge4 C Oct. 2, 2019, 11:38 a.m. OK MS C++ 2017 TESTS 51 280 19456000 1800
55650045 Markuuus C June 16, 2019, 2:07 p.m. OK MS C++ 2017 TESTS 51 404 9728000 1800
1005409 alexey.shchepin C Jan. 4, 2012, 4:11 p.m. OK Ocaml TESTS 51 220 7372800 1800
56859731 mayakin C July 11, 2019, 9 p.m. OK PHP TESTS 51 1434 26828800 1800
66443624 jansons C Dec. 7, 2019, 8:49 a.m. OK PyPy 3 TESTS 51 1058 17612800 1800
66458196 Gustavslatvijalatvija123 C Dec. 7, 2019, 1:54 p.m. OK PyPy 3 TESTS 51 1122 16384000 1800
5116803 yugle7 C Nov. 15, 2013, 12:16 p.m. OK Python 2 TESTS 51 780 18944000 1800
3104419 ksandr1v C Feb. 11, 2013, 8:27 p.m. OK Python 2 TESTS 51 859 27443200 1800
1201583 isgulkov C Feb. 18, 2012, 12:01 p.m. OK Python 2 TESTS 51 920 8601600 1800
1014075 nealzane C Jan. 6, 2012, 2:15 a.m. OK Python 2 TESTS 51 920 9830400 1800
999359 nab C Jan. 4, 2012, 3:15 p.m. OK Python 2 TESTS 51 940 9830400 1800
1205448 ronaflx C Feb. 20, 2012, 11:34 a.m. OK Python 2 TESTS 51 980 10854400 1800
1023791 cyon C Jan. 8, 2012, 5:13 p.m. OK Python 2 TESTS 51 1050 16998400 1800
1127263 tmiyamon C Jan. 30, 2012, 4:44 p.m. OK Python 2 TESTS 51 1060 12902400 1800
1127274 tmiyamon C Jan. 30, 2012, 4:48 p.m. OK Python 2 TESTS 51 1090 12902400 1800
7256061 n1tz53 C July 27, 2014, 8:45 a.m. OK Python 2 TESTS 51 1090 13414400 1800
64613125 RicardoLegAc C Nov. 10, 2019, 3:03 a.m. OK Python 3 TESTS 51 748 20480000 1800
5116712 yugle7 C Nov. 15, 2013, 12:07 p.m. OK Python 3 TESTS 51 810 21196800 1800
8067790 manhhomienbienthuy C Oct. 3, 2014, 11:18 a.m. OK Python 3 TESTS 51 1684 12185600 1800
27835987 Blencer C June 17, 2017, 1:50 a.m. OK Python 3 TESTS 51 1964 8908800 1800
27835983 Pulitzer C June 17, 2017, 1:50 a.m. OK Python 3 TESTS 51 1964 8908800 1800
34974438 suibaka C Feb. 6, 2018, 2:56 p.m. OK Rust TESTS 51 530 5734400 1800
34974415 vjudge2 C Feb. 6, 2018, 2:55 p.m. OK Rust TESTS 51 592 5734400 1800

remove filters

Back to search problems