Codeforces Round 123 (Div. 2)

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
195 Codeforces Round 123 (Div. 2) FINISHED False 7200 398269804 June 10, 2012, 3:30 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 1049 ) D Analyzing Polyline PROGRAMMING geometry math sortings 1900

B"As Valeric and Valerko were watching one of the last Euro Championship games in a sports bar, they broke a mug. Of course, the guys paid for it but the barman said that he will let them watch football in his bar only if they help his son complete a programming task. The task goes like that. Let's consider a set of functions of the following form: Valeric and Valerko really want to watch the next Euro Championship game, so they asked you to help them. 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 functions. Each of the following n lines contains two space-separated integer numbers ki, xe2 x80 x89bi ( xe2 x80 x89- xe2 x80 x89109 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89ki, xe2 x80 x89bi xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89109) that determine the i-th function. Print a single number -- the number of angles that do not equal 180 degrees in the graph of the polyline that equals the sum of the given functions."...

Tutorials

Codeforces Round #123 (Div. 2) Разбор Задач

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
4097858 felix D July 18, 2013, 8:06 a.m. OK Delphi TESTS 75 78 1843200 1900
1779996 akim D June 10, 2012, 5:11 p.m. OK Delphi TESTS 75 80 10444800 1900
1950199 TarasSavitskyi D July 29, 2012, 3:40 p.m. OK Delphi TESTS 75 80 11264000 1900
1781341 Paulina D June 10, 2012, 6:03 p.m. OK Delphi TESTS 75 80 11468800 1900
1779932 egor-belikov D June 10, 2012, 5:09 p.m. OK Delphi TESTS 75 90 10444800 1900
1781719 equi D June 10, 2012, 6:31 p.m. OK Delphi TESTS 75 90 12492800 1900
1778193 Frommi D June 10, 2012, 4:24 p.m. OK Delphi TESTS 75 90 12492800 1900
1997491 Shaykhutdinov-T-I D Aug. 10, 2012, 10:15 a.m. OK Delphi TESTS 75 110 10547200 1900
1787239 Depool D June 12, 2012, 10:32 a.m. OK Delphi TESTS 75 110 11264000 1900
40991165 ReaLNero1 D July 31, 2018, 12:27 a.m. OK Delphi TESTS 75 154 1843200 1900
1785738 Omelianenko D June 11, 2012, 2:13 p.m. OK FPC TESTS 75 90 2150400 1900
1992993 823046544 D Aug. 8, 2012, 12:18 p.m. OK FPC TESTS 75 110 1945600 1900
1785948 scorpion D June 11, 2012, 3:39 p.m. OK FPC TESTS 75 110 2252800 1900
1782376 aleksandr_severinov D June 11, 2012, 2:06 a.m. OK FPC TESTS 75 110 2355200 1900
1782571 Miriam D June 11, 2012, 4:42 a.m. OK FPC TESTS 75 110 2969600 1900
1778619 Oryshych D June 10, 2012, 4:34 p.m. OK FPC TESTS 75 110 3174400 1900
1779316 alexej D June 10, 2012, 4:51 p.m. OK FPC TESTS 75 110 3276800 1900
1804708 Saimon_Saret D June 15, 2012, 1:38 p.m. OK FPC TESTS 75 110 4812800 1900
17563917 Ahriman D April 29, 2016, 9:45 a.m. OK FPC TESTS 75 124 3584000 1900
1993135 XJT D Aug. 8, 2012, 1:05 p.m. OK FPC TESTS 75 130 2048000 1900
1780896 Sender D June 10, 2012, 5:45 p.m. OK GNU C TESTS 75 140 3072000 1900
1782931 kawatea D June 11, 2012, 7:31 a.m. OK GNU C TESTS 75 200 4710400 1900
2825921 nenu_voj D Dec. 25, 2012, 2:22 p.m. OK GNU C++ TESTS 75 78 1228800 1900
1973867 xkszltl D Aug. 3, 2012, 1:19 p.m. OK GNU C++ TESTS 75 90 3276800 1900
1905142 Zambaldi D July 16, 2012, 9:15 p.m. OK GNU C++ TESTS 75 90 3891200 1900
14630376 kasumi_utako D Dec. 3, 2015, 7:56 a.m. OK GNU C++ TESTS 75 92 4096000 1900
2999916 nenu_voj D Jan. 24, 2013, 4:07 a.m. OK GNU C++ TESTS 75 93 1228800 1900
2825901 nenu_voj D Dec. 25, 2012, 2:17 p.m. OK GNU C++ TESTS 75 93 1228800 1900
2905554 noh4h_ss D Jan. 11, 2013, 4:15 p.m. OK GNU C++ TESTS 75 93 2355200 1900
1992532 beantan1 D Aug. 8, 2012, 9:17 a.m. OK GNU C++ TESTS 75 110 2252800 1900
1778286 Gowill_Yellow D June 10, 2012, 4:26 p.m. OK GNU C++ TESTS 75 110 2252800 1900
1782022 RAD D June 10, 2012, 8:37 p.m. OK GNU C++ TESTS 75 110 3891200 1900
1801527 stan D June 13, 2012, 10 p.m. OK GNU C++0x TESTS 75 130 4710400 1900
8356047 dr.ikros D Oct. 22, 2014, 9:02 p.m. OK GNU C++0x TESTS 75 186 4812800 1900
1781572 tiirz D June 10, 2012, 6:18 p.m. OK GNU C++0x TESTS 75 200 5529600 1900
8768196 aliasadiiii D Nov. 20, 2014, 7:30 p.m. OK GNU C++0x TESTS 75 218 4198400 1900
1778430 pzzxj D June 10, 2012, 4:29 p.m. OK GNU C++0x TESTS 75 220 4710400 1900
1780978 hex539 D June 10, 2012, 5:48 p.m. OK GNU C++0x TESTS 75 220 6246400 1900
1779857 rlblaster D June 10, 2012, 5:07 p.m. OK GNU C++0x TESTS 75 230 5529600 1900
1777767 Archon.JK D June 10, 2012, 4:14 p.m. OK GNU C++0x TESTS 75 230 6246400 1900
1777956 subscriber D June 10, 2012, 4:19 p.m. OK GNU C++0x TESTS 75 340 2764800 1900
1778763 lyoz D June 10, 2012, 4:37 p.m. OK GNU C++0x TESTS 75 380 7065600 1900
27006192 alex20030190 D May 11, 2017, 4:45 a.m. OK GNU C++11 TESTS 75 122 819200 1900
44543017 vjudge2 D Oct. 19, 2018, 12:21 p.m. OK GNU C++11 TESTS 75 122 1024000 1900
44542928 zyjun123 D Oct. 19, 2018, 12:19 p.m. OK GNU C++11 TESTS 75 124 1024000 1900
18702168 dhawalht D June 24, 2016, 1:59 p.m. OK GNU C++11 TESTS 75 124 1536000 1900
50249159 vjudge2 D Feb. 20, 2019, 4:24 p.m. OK GNU C++11 TESTS 75 124 1638400 1900
45330299 ShafinKhadem D Nov. 5, 2018, 2:55 p.m. OK GNU C++11 TESTS 75 124 2048000 1900
45330241 NRK7 D Nov. 5, 2018, 2:53 p.m. OK GNU C++11 TESTS 75 124 2048000 1900
13418344 Roma D Oct. 5, 2015, 3:08 p.m. OK GNU C++11 TESTS 75 124 2355200 1900
11516885 BayHarborButcher D June 10, 2015, 4:31 a.m. OK GNU C++11 TESTS 75 124 2355200 1900
11516884 Alex7 D June 10, 2015, 4:31 a.m. OK GNU C++11 TESTS 75 124 2355200 1900
26677426 RNS_JKS D April 26, 2017, 7:24 a.m. OK GNU C++14 TESTS 75 124 3174400 1900
41317069 Corvus D Aug. 7, 2018, 8:22 p.m. OK GNU C++14 TESTS 75 156 2457600 1900
44543821 ljx19990328 D Oct. 19, 2018, 12:39 p.m. OK GNU C++14 TESTS 75 156 2764800 1900
21696926 McGinn D Oct. 23, 2016, 2:42 a.m. OK GNU C++14 TESTS 75 156 3174400 1900
23563599 Ali.Pi D Jan. 5, 2017, 10:01 p.m. OK GNU C++14 TESTS 75 156 6758400 1900
39974689 piyushsethia1999 D July 5, 2018, 6:12 a.m. OK GNU C++14 TESTS 75 186 1945600 1900
44541270 vjudge1 D Oct. 19, 2018, 11:37 a.m. OK GNU C++14 TESTS 75 186 2457600 1900
48457812 Beast_Within D Jan. 16, 2019, 1:19 p.m. OK GNU C++14 TESTS 75 186 3379200 1900
46956928 Hahahahahahahhahaha D Dec. 13, 2018, 5:06 a.m. OK GNU C++14 TESTS 75 186 3379200 1900
70006638 vjudge1 D Feb. 2, 2020, 5:13 a.m. OK GNU C++14 TESTS 75 186 4198400 1900
50429317 yuming D Feb. 24, 2019, 1:12 p.m. OK GNU C++17 TESTS 75 154 2048000 1900
50429921 yuming D Feb. 24, 2019, 1:30 p.m. OK GNU C++17 TESTS 75 156 819200 1900
67408793 Hoshi08 D Dec. 22, 2019, 7:31 a.m. OK GNU C++17 TESTS 75 156 1638400 1900
45064007 ruo D Oct. 29, 2018, 4:11 p.m. OK GNU C++17 TESTS 75 156 1843200 1900
35789165 AsahiKasugano D Feb. 28, 2018, 3:14 p.m. OK GNU C++17 TESTS 75 156 3481600 1900
49115186 crathva D Jan. 28, 2019, 4:39 p.m. OK GNU C++17 TESTS 75 186 1843200 1900
44568990 vjudge1 D Oct. 20, 2018, 3:25 a.m. OK GNU C++17 TESTS 75 186 4198400 1900
67950114 Soren_15 D Dec. 30, 2019, 7:16 a.m. OK GNU C++17 TESTS 75 186 4198400 1900
60389461 mapleleaves D Sept. 11, 2019, 12:46 p.m. OK GNU C++17 TESTS 75 186 4198400 1900
60388733 doge233 D Sept. 11, 2019, 12:31 p.m. OK GNU C++17 TESTS 75 186 4812800 1900
2675810 watashi D Nov. 29, 2012, 7:29 a.m. OK Haskell TESTS 75 765 12800000 1900
2675808 watashi D Nov. 29, 2012, 7:28 a.m. OK Haskell TESTS 75 765 12800000 1900
1784221 Rotsor D June 11, 2012, 11 a.m. OK Haskell TESTS 75 1330 20070400 1900
1780046 lwc626 D June 10, 2012, 5:13 p.m. OK Java 6 TESTS 75 250 43110400 1900
1782181 Aries512 D June 10, 2012, 10:09 p.m. OK Java 6 TESTS 75 270 43212800 1900
2002040 Ahmed.Ibrahem D Aug. 12, 2012, 12:52 p.m. OK Java 6 TESTS 75 280 43417600 1900
1781902 bohuss D June 10, 2012, 7:23 p.m. OK Java 6 TESTS 75 300 43315200 1900
1780576 uwi D June 10, 2012, 5:26 p.m. OK Java 6 TESTS 75 310 43110400 1900
1809737 Azat_Yusupov D June 19, 2012, 3:50 a.m. OK Java 6 TESTS 75 310 43417600 1900
1783145 olgngy D June 11, 2012, 8:30 a.m. OK Java 6 TESTS 75 310 43417600 1900
1782368 DiegoAE D June 11, 2012, 2:02 a.m. OK Java 6 TESTS 75 330 43315200 1900
1783217 SkorKNURE D June 11, 2012, 8:51 a.m. OK Java 6 TESTS 75 330 43417600 1900
1783149 olgngy D June 11, 2012, 8:31 a.m. OK Java 6 TESTS 75 330 43417600 1900
1781070 jiangzhijie D June 10, 2012, 5:51 p.m. OK Java 7 TESTS 75 330 44953600 1900
1798546 Yaski D June 12, 2012, 8:53 p.m. OK Java 7 TESTS 75 330 45056000 1900
15457258 mkirsche D Jan. 20, 2016, 5:39 p.m. OK Java 7 TESTS 75 434 0 1900
1782398 blue.boy D June 11, 2012, 2:21 a.m. OK Java 7 TESTS 75 480 59904000 1900
1907945 GetMeng D July 17, 2012, 9:08 p.m. OK Java 7 TESTS 75 1030 45260800 1900
1848304 tarther D July 2, 2012, 3:07 a.m. OK Java 7 TESTS 75 1050 58470400 1900
4059470 0p9o8i D July 13, 2013, 11:56 a.m. OK Java 7 TESTS 75 1937 28672000 1900
65491689 StayAwayFromBitches D Nov. 21, 2019, 2:54 p.m. OK Java 8 TESTS 75 436 2764800 1900
65412591 Ahmad D Nov. 20, 2019, 5:11 a.m. OK Java 8 TESTS 75 466 0 1900
10554034 AStepanov D April 2, 2015, 6:27 p.m. OK Java 8 TESTS 75 496 0 1900
16599777 alibaba D March 8, 2016, 11:20 a.m. OK Java 8 TESTS 75 560 0 1900
30336408 RonitTiwari pandusonu shahzer12 D Sept. 14, 2017, 6:34 p.m. OK Java 8 TESTS 75 560 3891200 1900
39011269 amnesiac_dusk D June 7, 2018, 7:12 a.m. OK Java 8 TESTS 75 686 3993600 1900
39212471 dipankar12 D June 13, 2018, 10:06 a.m. OK Java 8 TESTS 75 716 3993600 1900
1781682 kasitan D June 10, 2012, 6:28 p.m. OK Mono C# TESTS 75 280 23347200 1900
1907844 dannsk D July 17, 2012, 7:42 p.m. OK Mono C# TESTS 75 1010 22425600 1900
1921418 jonyrock D July 22, 2012, 8:10 a.m. OK Mono C# TESTS 75 1010 27955200 1900
2853269 andrevs D Dec. 29, 2012, 11:15 a.m. OK MS C++ TESTS 75 109 3379200 1900
1786518 mongolrgata D June 11, 2012, 9:17 p.m. OK MS C++ TESTS 75 110 2252800 1900
1782717 codetest D June 11, 2012, 6:19 a.m. OK MS C++ TESTS 75 110 3072000 1900
1786517 mongolrgata D June 11, 2012, 9:16 p.m. OK MS C++ TESTS 75 110 3379200 1900
1779064 ACShiryu D June 10, 2012, 4:44 p.m. OK MS C++ TESTS 75 130 2252800 1900
1779661 forest D June 10, 2012, 5:01 p.m. OK MS C++ TESTS 75 130 5222400 1900
1782461 zero.chs D June 11, 2012, 3:18 a.m. OK MS C++ TESTS 75 140 3072000 1900
1782937 Witalia D June 11, 2012, 7:33 a.m. OK MS C++ TESTS 75 140 4710400 1900
1784474 916852 D June 11, 2012, 12:29 p.m. OK MS C++ TESTS 75 140 4710400 1900
7326606 Stetsyk D Aug. 2, 2014, 8:48 a.m. OK MS C++ TESTS 75 156 1638400 1900
1906340 ikar D July 17, 2012, 9:04 a.m. OK Perl TESTS 75 1470 11059200 1900
1846365 chaotic_iak D June 30, 2012, 2:21 p.m. OK PHP TESTS 75 1470 69222400 1900
1783851 Basement_Cat D June 11, 2012, 10:46 a.m. OK Python 2 TESTS 75 920 11878400 1900
2563801 vulpecula D Nov. 15, 2012, 2:29 p.m. OK Python 2 TESTS 75 937 18329600 1900
1836998 nishant4 D June 28, 2012, 6:19 p.m. OK Python 2 TESTS 75 1160 11878400 1900
2533660 nealzane D Nov. 11, 2012, 2:45 p.m. OK Python 2 TESTS 75 1218 9011200 1900
1782074 citrux D June 10, 2012, 8:55 p.m. OK Python 2 TESTS 75 1280 11878400 1900
1824555 swift90 D June 23, 2012, 5:40 p.m. OK Python 2 TESTS 75 1300 11878400 1900
15141758 HappyNewYearMike D Dec. 31, 2015, 9:49 p.m. OK Python 2 TESTS 75 1340 9113600 1900
1913501 neex.emil D July 20, 2012, 8:51 a.m. OK Python 2 TESTS 75 1390 11878400 1900
1779779 nCk D June 10, 2012, 5:04 p.m. OK Python 2 TESTS 75 1410 11878400 1900
1782114 drbitboy D June 10, 2012, 9:23 p.m. OK Python 2 TESTS 75 1450 26828800 1900
28138503 Ferume D June 29, 2017, 11:46 a.m. OK Python 3 TESTS 75 934 14540800 1900
47562904 zaher__ D Dec. 27, 2018, 2:52 p.m. OK Python 3 TESTS 75 1464 9625600 1900
28813421 vjudge3 D July 24, 2017, 3:53 a.m. OK Python 3 TESTS 75 1464 14540800 1900
28813444 kandrew D July 24, 2017, 3:55 a.m. OK Python 3 TESTS 75 1496 14643200 1900
42222814 YazanRi D Aug. 28, 2018, 10:43 p.m. OK Python 3 TESTS 75 1902 10547200 1900
16081512 tarek.nawara D Feb. 17, 2016, 3:37 p.m. OK Python 3 TESTS 75 1996 11161600 1900
1779892 etendren D June 10, 2012, 5:07 p.m. OK Ruby TESTS 75 1250 12697600 1900
35843950 ______u______ D March 2, 2018, 3:21 p.m. OK Ruby TESTS 75 1308 18432000 1900
35843922 ______n______ D March 2, 2018, 3:21 p.m. OK Ruby TESTS 75 1308 18432000 1900
35843731 _____i_____ D March 2, 2018, 3:17 p.m. OK Ruby TESTS 75 1308 18432000 1900
35843727 _____k_____ D March 2, 2018, 3:17 p.m. OK Ruby TESTS 75 1308 18432000 1900
35838857 ______h______ D March 2, 2018, 1:41 p.m. OK Ruby TESTS 75 1308 18432000 1900
35838855 ______k______ D March 2, 2018, 1:41 p.m. OK Ruby TESTS 75 1308 18432000 1900
35838540 ______i______ D March 2, 2018, 1:35 p.m. OK Ruby TESTS 75 1308 18432000 1900
35836270 ______M______ D March 2, 2018, 12:53 p.m. OK Ruby TESTS 75 1308 18432000 1900
1781751 eagletmt D June 10, 2012, 6:35 p.m. OK Ruby TESTS 75 1310 12185600 1900

remove filters

Back to search problems