Codeforces Round 101 (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
141 Codeforces Round 101 (Div. 2) FINISHED False 7200 411145163 Jan. 8, 2012, 3 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 5440 ) B Hopscotch PROGRAMMING geometry math 1400

B'So nearly half of the winter is over and Maria is dreaming about summer. She 's fed up with skates and sleds, she was dreaming about Hopscotch all night long. It 's a very popular children 's game. The game field, the court, looks as is shown in the figure (all blocks are square and are numbered from bottom to top, blocks in the same row are numbered from left to right). Let us describe the hopscotch with numbers that denote the number of squares in the row, staring from the lowest one: 1-1-2-1-2-1-2-(1-2)..., where then the period is repeated (1-2). The coordinate system is defined as shown in the figure. Side of all the squares are equal and have length a. Maria is a very smart and clever girl, and she is concerned with quite serious issues: if she throws a stone into a point with coordinates (x, xe2 x80 x89y), then will she hit some square? If the answer is positive, you are also required to determine the number of the square. It is believed that the stone has fallen into the square if it is located strictly inside it. In other words a stone that has fallen on the square border is not considered a to hit a square. The only input line contains three integers: a, x, y, where a (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89a xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89100) is the side of the square, x and y ( xe2 x80 x89- xe2 x80 x89106 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89x xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89106, xe2 x80 x890 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89y xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89106) are coordinates of the stone. Print the number of the square, inside which the stone fell. If the stone is on a border of some stone or outside the court, print "-1" without the quotes.'...

Tutorials

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

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
67855611 ZzjxZWz2SO B Dec. 29, 2019, 5:57 a.m. OK Clang++17 Diagnostics TESTS 148 92 204800 1400
2957292 AleksanderBalobanov B Jan. 18, 2013, 5:05 p.m. OK Delphi TESTS 148 15 102400 1400
4313288 annikura B Aug. 19, 2013, 5:26 p.m. OK Delphi TESTS 148 62 102400 1400
3329987 NickAs B March 17, 2013, 11:22 a.m. OK FPC TESTS 148 15 0 1400
2995602 pnv B Jan. 23, 2013, 6:44 a.m. OK FPC TESTS 148 15 7987200 1400
4457698 vjudge3 B Sept. 14, 2013, 12:28 p.m. OK FPC TESTS 148 30 0 1400
16059104 DarkKeks B Feb. 16, 2016, 4:29 p.m. OK FPC TESTS 148 30 0 1400
15896293 andreumat B Feb. 8, 2016, 1:33 p.m. OK FPC TESTS 148 30 0 1400
33219607 TShT B Dec. 13, 2017, 4:06 p.m. OK FPC TESTS 148 30 1638400 1400
4027696 Artur.Bondarenko B July 5, 2013, 3:44 p.m. OK FPC TESTS 148 31 0 1400
2685676 Programmer007 B Dec. 2, 2012, 7:10 a.m. OK FPC TESTS 148 31 0 1400
6248147 graceoflives B April 3, 2014, 7:37 a.m. OK FPC TESTS 148 60 0 1400
9389628 VAVAvile B Jan. 9, 2015, 1:25 a.m. OK FPC TESTS 148 62 0 1400
4028684 viks176 B July 5, 2013, 9:43 p.m. OK GNU C TESTS 148 15 0 1400
3134042 kunj B Feb. 15, 2013, 6:01 p.m. OK GNU C TESTS 148 15 0 1400
2797189 black_blood B Dec. 20, 2012, 8 a.m. OK GNU C TESTS 148 15 0 1400
5694800 bjfu_song B Jan. 15, 2014, 8:03 a.m. OK GNU C TESTS 148 30 0 1400
15401642 hardiknegi B Jan. 16, 2016, 10:12 a.m. OK GNU C TESTS 148 30 0 1400
11324032 abhinav_rai B May 27, 2015, 6:05 p.m. OK GNU C TESTS 148 30 0 1400
4546940 subham_kr B Sept. 24, 2013, 6:07 a.m. OK GNU C TESTS 148 30 0 1400
35824003 WagdySamih63 B March 2, 2018, 3:14 a.m. OK GNU C TESTS 148 30 1843200 1400
2687320 cpy B Dec. 2, 2012, 5:41 p.m. OK GNU C TESTS 148 31 0 1400
18988901 rainboy B July 9, 2016, 4:15 p.m. OK GNU C TESTS 148 60 0 1400
4929823 danilka.pro B Oct. 29, 2013, 3:50 p.m. OK GNU C++ TESTS 148 15 0 1400
4929345 vjudge3 B Oct. 29, 2013, 2:18 p.m. OK GNU C++ TESTS 148 15 0 1400
4929192 yangz B Oct. 29, 2013, 1:57 p.m. OK GNU C++ TESTS 148 15 0 1400
4925830 vjudge4 B Oct. 28, 2013, 11:12 p.m. OK GNU C++ TESTS 148 15 0 1400
4144119 SandyKarunia B July 24, 2013, 2:58 a.m. OK GNU C++ TESTS 148 15 0 1400
4133364 vjudge1 B July 22, 2013, 7:20 a.m. OK GNU C++ TESTS 148 15 0 1400
4125258 vjudge3 B July 21, 2013, 1:57 a.m. OK GNU C++ TESTS 148 15 0 1400
4107936 guille B July 19, 2013, 5:01 p.m. OK GNU C++ TESTS 148 15 0 1400
4106509 vjudge1 B July 19, 2013, 1:01 p.m. OK GNU C++ TESTS 148 15 0 1400
4103857 vjudge3 B July 19, 2013, 9:23 a.m. OK GNU C++ TESTS 148 15 0 1400
4043591 000golabi B July 9, 2013, 5:28 p.m. OK GNU C++0x TESTS 148 15 0 1400
3750793 Artem_kh B May 20, 2013, 4:13 p.m. OK GNU C++0x TESTS 148 15 0 1400
2884962 Doxer B Jan. 8, 2013, 10:57 a.m. OK GNU C++0x TESTS 148 15 0 1400
3859344 BryantMark B June 12, 2013, 6:09 a.m. OK GNU C++0x TESTS 148 15 4198400 1400
7752943 farnasirim B Sept. 12, 2014, 3:19 p.m. OK GNU C++0x TESTS 148 30 0 1400
10274009 fasterdif B March 14, 2015, 3:30 p.m. OK GNU C++0x TESTS 148 30 0 1400
8060712 Gullesnuffs B Oct. 2, 2014, 3:58 p.m. OK GNU C++0x TESTS 148 30 0 1400
7930217 rendon B Sept. 23, 2014, 6:29 p.m. OK GNU C++0x TESTS 148 30 0 1400
7012166 Horia B July 4, 2014, 7:14 p.m. OK GNU C++0x TESTS 148 30 0 1400
5490025 jeffchien13 B Dec. 22, 2013, 3:30 a.m. OK GNU C++0x TESTS 148 30 0 1400
52324855 jalalium B April 4, 2019, 11:04 p.m. OK GNU C11 TESTS 148 62 0 1400
63945462 kaiboy B Oct. 31, 2019, 6:47 p.m. OK GNU C11 TESTS 148 62 0 1400
22203651 DigiM B Nov. 14, 2016, 7:21 a.m. OK GNU C++11 TESTS 148 30 0 1400
21170629 viniciusmalloc B Oct. 3, 2016, 6:29 p.m. OK GNU C++11 TESTS 148 30 0 1400
21113060 HimaAbousalem B Oct. 2, 2016, 11:26 a.m. OK GNU C++11 TESTS 148 30 0 1400
21097260 saeed_odak B Oct. 1, 2016, 8:32 p.m. OK GNU C++11 TESTS 148 30 0 1400
19612351 rishabhrabbit B Aug. 4, 2016, 9:14 a.m. OK GNU C++11 TESTS 148 30 0 1400
29826547 vjudge5 B Aug. 27, 2017, 12:35 p.m. OK GNU C++11 TESTS 148 30 0 1400
27460951 abhishek304 B May 31, 2017, 7:12 a.m. OK GNU C++11 TESTS 148 30 0 1400
27417023 SureYeaah B May 28, 2017, 4:59 p.m. OK GNU C++11 TESTS 148 30 0 1400
27432703 alooochaat1998 B May 29, 2017, 4:48 p.m. OK GNU C++11 TESTS 148 30 0 1400
23023403 DTDT B Dec. 16, 2016, 6:41 a.m. OK GNU C++11 TESTS 148 30 0 1400
30117272 I_hate_PWN B Sept. 5, 2017, 7:34 p.m. OK GNU C++14 TESTS 148 30 0 1400
32002241 Aboood B Nov. 3, 2017, 8:56 a.m. OK GNU C++14 TESTS 148 30 0 1400
31989600 legendary B Nov. 2, 2017, 6:36 p.m. OK GNU C++14 TESTS 148 30 0 1400
31894111 Omar B Oct. 30, 2017, 1:01 p.m. OK GNU C++14 TESTS 148 30 0 1400
31817744 AakashHanda B Oct. 27, 2017, 7:37 p.m. OK GNU C++14 TESTS 148 30 0 1400
30869977 DessertKid B Sept. 30, 2017, 3:08 p.m. OK GNU C++14 TESTS 148 30 0 1400
30810463 RelyOnTheTruth B Sept. 28, 2017, 4:28 p.m. OK GNU C++14 TESTS 148 30 0 1400
30602297 AMnu B Sept. 21, 2017, 10:39 p.m. OK GNU C++14 TESTS 148 30 0 1400
30234081 bu_galala B Sept. 9, 2017, 8:57 p.m. OK GNU C++14 TESTS 148 30 0 1400
30173623 mitali97 B Sept. 7, 2017, 6:36 a.m. OK GNU C++14 TESTS 148 30 0 1400
35613860 MikhailovBair B Feb. 24, 2018, 3:03 a.m. OK GNU C++17 TESTS 148 30 1945600 1400
37670635 MOVSES1 B April 27, 2018, 7:27 p.m. OK GNU C++17 TESTS 148 60 3379200 1400
69819100 Bear_2 B Jan. 30, 2020, 7:08 a.m. OK GNU C++17 TESTS 148 62 0 1400
69540036 eye_musician B Jan. 25, 2020, 8:53 p.m. OK GNU C++17 TESTS 148 62 0 1400
69521132 genesiscentury B Jan. 25, 2020, 1:28 p.m. OK GNU C++17 TESTS 148 62 0 1400
69444308 AngrySeal B Jan. 24, 2020, 1:13 a.m. OK GNU C++17 TESTS 148 62 0 1400
69181433 Anand_for_life B Jan. 20, 2020, 10:19 a.m. OK GNU C++17 TESTS 148 62 0 1400
68713170 BishO_oy B Jan. 13, 2020, 1:36 p.m. OK GNU C++17 TESTS 148 62 0 1400
69982388 vjudge2 B Feb. 1, 2020, 4:48 p.m. OK GNU C++17 TESTS 148 62 0 1400
69880073 vjudge3 B Jan. 31, 2020, 6 a.m. OK GNU C++17 TESTS 148 62 0 1400
48295781 nullstein B Jan. 12, 2019, 2:31 p.m. OK Go TESTS 148 62 0 1400
9663568 Eeyore B Feb. 1, 2015, 9:17 a.m. OK Go TESTS 148 62 0 1400
8181973 devroid B Oct. 12, 2014, 9:50 a.m. OK Go TESTS 148 62 0 1400
8171104 arnoldjulians B Oct. 11, 2014, 5:06 a.m. OK Go TESTS 148 62 102400 1400
15914851 not_bot_but_POT B Feb. 9, 2016, 1:54 p.m. OK Haskell TESTS 148 60 13824000 1400
56028414 sorry_im_smurfing B June 25, 2019, 8:13 a.m. OK Haskell TESTS 148 92 7372800 1400
35834284 ______i______ B March 2, 2018, 11:58 a.m. OK Haskell TESTS 148 92 58675200 1400
35839122 ______n______ B March 2, 2018, 1:46 p.m. OK Haskell TESTS 148 92 58675200 1400
35839116 ______u______ B March 2, 2018, 1:46 p.m. OK Haskell TESTS 148 92 58675200 1400
35839018 _____k_____ B March 2, 2018, 1:44 p.m. OK Haskell TESTS 148 92 58675200 1400
35839017 _____i_____ B March 2, 2018, 1:44 p.m. OK Haskell TESTS 148 92 58675200 1400
35834553 ______h______ B March 2, 2018, 12:05 p.m. OK Haskell TESTS 148 92 58675200 1400
35834510 ______k______ B March 2, 2018, 12:05 p.m. OK Haskell TESTS 148 92 58675200 1400
35830788 ______M______ B March 2, 2018, 9:27 a.m. OK Haskell TESTS 148 92 58675200 1400
3652529 santjuan B April 30, 2013, 12:41 a.m. OK Java 6 TESTS 148 93 0 1400
3652637 DiegoAE B April 30, 2013, 2:38 a.m. OK Java 6 TESTS 148 93 0 1400
3165202 mkirsche B Feb. 21, 2013, 5:23 a.m. OK Java 6 TESTS 148 93 0 1400
3084354 Spacejoker B Feb. 8, 2013, 4:36 p.m. OK Java 6 TESTS 148 93 0 1400
3989334 DoublePointer B June 29, 2013, 5:41 a.m. OK Java 6 TESTS 148 93 102400 1400
3132800 Zyflair B Feb. 15, 2013, 1:44 p.m. OK Java 6 TESTS 148 109 0 1400
3163676 marcosarribas B Feb. 20, 2013, 8:01 p.m. OK Java 6 TESTS 148 109 2457600 1400
5730468 hashvip B Jan. 18, 2014, 11:18 a.m. OK Java 6 TESTS 148 154 0 1400
5730671 anantk17 B Jan. 18, 2014, 11:55 a.m. OK Java 6 TESTS 148 156 0 1400
5237004 alibaba B Nov. 25, 2013, 3:53 p.m. OK Java 6 TESTS 148 156 0 1400
3126745 Spellbound B Feb. 14, 2013, 6:43 a.m. OK Java 7 TESTS 148 78 0 1400
3319847 mashinist B March 15, 2013, 9:09 a.m. OK Java 7 TESTS 148 109 0 1400
3146017 gkuzler B Feb. 19, 2013, 7:46 a.m. OK Java 7 TESTS 148 109 0 1400
3134427 edorundo B Feb. 15, 2013, 7:36 p.m. OK Java 7 TESTS 148 109 0 1400
3853643 Footman B June 10, 2013, 10:51 a.m. OK Java 7 TESTS 148 109 102400 1400
5517551 upsolving B Dec. 25, 2013, 8:53 a.m. OK Java 7 TESTS 148 124 0 1400
5598381 aladdin3 B Jan. 1, 2014, 2 p.m. OK Java 7 TESTS 148 124 0 1400
10145886 sultan.of.swing B March 4, 2015, 11:24 a.m. OK Java 7 TESTS 148 154 0 1400
5945741 tomash_em B March 5, 2014, 7:33 p.m. OK Java 7 TESTS 148 154 0 1400
5908800 Slamur B Feb. 6, 2014, 6:14 a.m. OK Java 7 TESTS 148 154 0 1400
67941668 gouh9qn B Dec. 30, 2019, 1:38 a.m. OK Java 8 TESTS 148 218 0 1400
62900706 pink_codes B Oct. 19, 2019, 4:01 a.m. OK Java 8 TESTS 148 218 0 1400
55541019 dfserrano B June 13, 2019, 7:46 p.m. OK Java 8 TESTS 148 218 0 1400
31477172 deepakjain B Oct. 18, 2017, 10:56 a.m. OK Java 8 TESTS 148 218 20275200 1400
69732691 Avi_2506 B Jan. 29, 2020, 1:53 p.m. OK Java 8 TESTS 148 248 0 1400
69465795 sakt_coder B Jan. 24, 2020, 12:48 p.m. OK Java 8 TESTS 148 248 0 1400
59321018 deepak4669 B Aug. 22, 2019, 6:20 p.m. OK Java 8 TESTS 148 248 0 1400
59221110 GiantTornado B Aug. 21, 2019, 12:15 p.m. OK Java 8 TESTS 148 248 0 1400
59220409 GiantTornado B Aug. 21, 2019, 12:01 p.m. OK Java 8 TESTS 148 248 0 1400
59193132 less_than_gray B Aug. 20, 2019, 11:09 p.m. OK Java 8 TESTS 148 248 0 1400
7364000 Y.M.V. B Aug. 7, 2014, 12:05 a.m. OK JavaScript TESTS 148 92 0 1400
59917263 SYury B Sept. 2, 2019, 7:52 p.m. OK Kotlin TESTS 148 310 102400 1400
3166480 supachai_pay B Feb. 21, 2013, 9:42 a.m. OK Mono C# TESTS 148 31 204800 1400
4021996 marat.snowbear B July 4, 2013, 4:18 p.m. OK MS C# TESTS 148 78 2355200 1400
14415073 og.kostya B Nov. 22, 2015, 2:19 p.m. OK MS C# TESTS 148 92 102400 1400
14799773 DoubleVee B Dec. 14, 2015, 9:40 a.m. OK MS C# TESTS 148 124 0 1400
14800394 Fransive B Dec. 14, 2015, 10:31 a.m. OK MS C# TESTS 148 216 102400 1400
4068654 vjudge1 B July 14, 2013, 9:32 a.m. OK MS C++ TESTS 148 15 0 1400
4068592 vjudge2 B July 14, 2013, 9:23 a.m. OK MS C++ TESTS 148 15 0 1400
4067897 vjudge2 B July 14, 2013, 7:44 a.m. OK MS C++ TESTS 148 15 0 1400
4053665 ilover3 B July 12, 2013, 7:26 a.m. OK MS C++ TESTS 148 15 0 1400
4043770 fateme.ghanaat B July 9, 2013, 6:34 p.m. OK MS C++ TESTS 148 15 0 1400
4043723 m94 B July 9, 2013, 6:15 p.m. OK MS C++ TESTS 148 15 0 1400
3962668 M.Mahdi B June 26, 2013, 7:12 a.m. OK MS C++ TESTS 148 15 0 1400
3932361 smx B June 21, 2013, 1:47 p.m. OK MS C++ TESTS 148 15 0 1400
3858494 dronov B June 11, 2013, 7:08 p.m. OK MS C++ TESTS 148 15 0 1400
4068969 vjudge5 B July 14, 2013, 10:22 a.m. OK MS C++ TESTS 148 15 0 1400
59692053 vjudge2 B Aug. 30, 2019, 6:38 a.m. OK MS C++ 2017 TESTS 148 62 0 1400
59267125 V4V B Aug. 22, 2019, 11:16 a.m. OK MS C++ 2017 TESTS 148 62 0 1400
55986930 r.y B June 24, 2019, 4:41 a.m. OK MS C++ 2017 TESTS 148 62 0 1400
55986915 Rahma..Yasser B June 24, 2019, 4:40 a.m. OK MS C++ 2017 TESTS 148 62 0 1400
66284811 ahmedo42 B Dec. 4, 2019, 6:45 p.m. OK MS C++ 2017 TESTS 148 62 307200 1400
58651822 Yanhui Cuc-center HelloWorld1024 B Aug. 12, 2019, 7:45 a.m. OK MS C++ 2017 TESTS 148 92 0 1400
35173884 mayakin B Feb. 12, 2018, 9:33 a.m. OK PHP TESTS 148 92 6860800 1400
15306497 kofhearts B Jan. 12, 2016, 3 a.m. OK PyPy 2 TESTS 148 154 0 1400
42839833 sambit25 B Sept. 13, 2018, 5:54 p.m. OK PyPy 2 TESTS 148 280 0 1400
18123885 knight-erraunt B May 27, 2016, 10:15 p.m. OK PyPy 3 TESTS 148 248 23244800 1400
63262472 lalaha B Oct. 23, 2019, 9:04 p.m. OK PyPy 3 TESTS 148 280 0 1400
48396859 RasMalai B Jan. 14, 2019, 6:12 p.m. OK PyPy 3 TESTS 148 280 0 1400
69055691 beethoven97 B Jan. 18, 2020, 2:24 p.m. OK PyPy 3 TESTS 148 310 0 1400
56419069 platypus179 B July 2, 2019, 6:26 a.m. OK PyPy 3 TESTS 148 310 0 1400
68089081 DarkRainbow B Jan. 2, 2020, 5:24 p.m. OK PyPy 3 TESTS 148 312 0 1400
56241683 jakob99 B June 28, 2019, 6:46 p.m. OK PyPy 3 TESTS 148 342 0 1400
56186612 kgmkr00001 B June 28, 2019, 5:16 a.m. OK PyPy 3 TESTS 148 498 2457600 1400
3750531 cyberguru007 B May 20, 2013, 2:53 p.m. OK Python 2 TESTS 148 62 0 1400
3578573 maone B April 20, 2013, 5:03 a.m. OK Python 2 TESTS 148 62 0 1400
3078448 fish_ball B Feb. 6, 2013, 5:09 p.m. OK Python 2 TESTS 148 62 0 1400
6369520 t.janssen52 B April 15, 2014, 5:47 p.m. OK Python 2 TESTS 148 92 0 1400
4522350 katya_mineeva B Sept. 20, 2013, 5:35 p.m. OK Python 2 TESTS 148 92 0 1400
11700307 fatemeh.zar B June 21, 2015, 5:28 p.m. OK Python 2 TESTS 148 124 0 1400
11192109 vovaminiof B May 21, 2015, 3:45 p.m. OK Python 2 TESTS 148 124 0 1400
9566131 justforlaugh B Jan. 26, 2015, 10:08 p.m. OK Python 2 TESTS 148 124 0 1400
9238532 catheryn B Dec. 24, 2014, 7:09 a.m. OK Python 2 TESTS 148 124 0 1400
10956935 fuzzz3r B April 30, 2015, 10:22 p.m. OK Python 2 TESTS 148 124 4608000 1400
27060612 wooljs B May 12, 2017, 6:44 p.m. OK Python 3 TESTS 148 92 0 1400
3747463 maratmiki B May 19, 2013, 9:29 p.m. OK Python 3 TESTS 148 93 102400 1400
32568301 Kirillov_Alexey B Nov. 23, 2017, 7:14 a.m. OK Python 3 TESTS 148 124 0 1400
30387357 SAYEDA_HOMIARA_RUBY B Sept. 16, 2017, 3:52 p.m. OK Python 3 TESTS 148 124 0 1400
30385286 SAYEDA_HOMIARA_RUBY B Sept. 16, 2017, 2:19 p.m. OK Python 3 TESTS 148 124 0 1400
30023643 Least_but_not_the_last B Sept. 3, 2017, 3:37 a.m. OK Python 3 TESTS 148 124 0 1400
30023529 Least_but_not_the_last B Sept. 3, 2017, 3:22 a.m. OK Python 3 TESTS 148 124 0 1400
27268743 wooljs B May 21, 2017, 2:14 p.m. OK Python 3 TESTS 148 124 0 1400
9072986 Latko B Dec. 10, 2014, 2:50 p.m. OK Python 3 TESTS 148 124 0 1400
4833755 yugle7 B Oct. 20, 2013, 1:35 p.m. OK Python 3 TESTS 148 124 307200 1400
35063028 suibaka B Feb. 8, 2018, 2:55 p.m. OK Rust TESTS 148 62 1433600 1400

remove filters

Back to search problems