Codeforces Round 449 (Div. 1)

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
896 Codeforces Round 449 (Div. 1) FINISHED False 8100 225302124 Dec. 2, 2017, 2:05 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 3484 ) A Nephren gives a riddle PROGRAMMING binary search dfs and similar 1700

B' Nephren is playing a game with little leprechauns. She gives them an infinite array of strings, f0... xe2 x88 x9e. f0 is "What are you doing at the end of the world? Are you busy? Will you save us?". She wants to let more people know about it, so she defines fi xe2 x80 x89= xe2 x80 x89 "What are you doing while sending "fi xe2 x80 x89- xe2 x80 x891"? Are you busy? Will you send "fi xe2 x80 x89- xe2 x80 x891"?" for all i xe2 x80 x89 xe2 x89 xa5 xe2 x80 x891. For example, f1 is "What are you doing while sending "What are you doing at the end of the world? Are you busy? Will you save us?"? Are you busy? Will you send "What are you doing at the end of the world? Are you busy? Will you save us?"?". Note that the quotes in the very beginning and in the very end are for clarity and are not a part of f1. It can be seen that the characters in fi are letters, question marks, (possibly) quotation marks and spaces. Nephren will ask the little leprechauns q times. Each time she will let them find the k-th character of fn. The characters are indexed starting from 1. If fn consists of less than k characters, output '. ' (without quotes). Can you answer her queries? The first line contains one integer q (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89q xe2 x80 x89 xe2 x89 xa4 xe2 x80 x8910) -- the number of Nephren 's questions. Each of the next q lines describes Nephren 's question and contains two integers n and k (0 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89105, xe2 x80 x891 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89k xe2 x80 x89 xe2 x89 xa4 xe2 x80 x891018). One line containing q characters. The i-th character in it should be the answer for the i-th query. For the first two examples, refer to f0 and f1 given in the legend. '...

Tutorials

Codeforces Round #449 Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
33219800 AsahiKasugano A Dec. 13, 2017, 4:13 p.m. OK FPC TESTS 36 15 2457600 1700
33219767 KagamiharaNadeshiko A Dec. 13, 2017, 4:12 p.m. OK FPC TESTS 36 15 2457600 1700
33969824 LeoPro A Jan. 6, 2018, 6:13 p.m. OK FPC TESTS 36 62 8089600 1700
32902811 Ibn_Masud A Dec. 3, 2017, 3:51 p.m. OK GNU C TESTS 36 15 1843200 1700
32903304 Arjishman A Dec. 3, 2017, 4:17 p.m. OK GNU C TESTS 36 15 1843200 1700
32935441 Voja03 A Dec. 4, 2017, 9:13 p.m. OK GNU C TESTS 36 15 2662400 1700
32950833 8897360799 A Dec. 5, 2017, 2:27 p.m. OK GNU C TESTS 36 15 2764800 1700
32874886 E.Space A Dec. 2, 2017, 3:53 p.m. OK GNU C++ TESTS 36 15 1843200 1700
32968070 freshman0213 A Dec. 6, 2017, 7:17 a.m. OK GNU C++ TESTS 36 15 1843200 1700
32948119 eryingzhang A Dec. 5, 2017, 12:28 p.m. OK GNU C++ TESTS 36 15 1843200 1700
32967460 lqz A Dec. 6, 2017, 6:44 a.m. OK GNU C++ TESTS 36 15 1945600 1700
36193119 vjudge4 A March 11, 2018, 8:56 a.m. OK GNU C++ TESTS 36 15 2048000 1700
36193003 vjudge1 A March 11, 2018, 8:52 a.m. OK GNU C++ TESTS 36 15 2048000 1700
36192720 vjudge3 A March 11, 2018, 8:43 a.m. OK GNU C++ TESTS 36 15 2048000 1700
35053149 vjudge3 A Feb. 8, 2018, 9:53 a.m. OK GNU C++ TESTS 36 15 2048000 1700
34661098 giorgi A Jan. 29, 2018, 12:34 p.m. OK GNU C++ TESTS 36 15 2048000 1700
36192310 vjudge2 A March 11, 2018, 8:31 a.m. OK GNU C++ TESTS 36 15 2048000 1700
33361221 alexey.orlov A Dec. 17, 2017, 7:01 p.m. OK GNU C11 TESTS 36 31 9011200 1700
32867297 maggch A Dec. 2, 2017, 2:39 p.m. OK GNU C++11 TESTS 36 15 1945600 1700
35433753 homoeconomicus A Feb. 18, 2018, 12:13 a.m. OK GNU C++11 TESTS 36 15 2048000 1700
36191366 vjudge4 A March 11, 2018, 8:01 a.m. OK GNU C++11 TESTS 36 15 2048000 1700
35141080 Cloriss A Feb. 11, 2018, 2:33 a.m. OK GNU C++11 TESTS 36 15 2048000 1700
35140961 Cloriss A Feb. 11, 2018, 2:20 a.m. OK GNU C++11 TESTS 36 15 2048000 1700
35077735 Tanzir5 A Feb. 9, 2018, 4:34 a.m. OK GNU C++11 TESTS 36 15 2048000 1700
34710480 k-i-k-ichi A Jan. 30, 2018, 1:38 p.m. OK GNU C++11 TESTS 36 15 2048000 1700
33448116 ericxu0 A Dec. 20, 2017, 7:20 a.m. OK GNU C++11 TESTS 36 15 2048000 1700
33255259 yjhan96 A Dec. 15, 2017, 5:25 a.m. OK GNU C++11 TESTS 36 15 2048000 1700
33254643 GioChkhaidze A Dec. 15, 2017, 4:42 a.m. OK GNU C++11 TESTS 36 15 2048000 1700
48457056 wreck_count A Jan. 16, 2019, 1:03 p.m. OK GNU C++14 TESTS 36 15 0 1700
61915197 Cothrax A Oct. 5, 2019, 11:55 a.m. OK GNU C++14 TESTS 36 15 0 1700
33198870 Phoenix1369 A Dec. 13, 2017, 12:20 a.m. OK GNU C++14 TESTS 36 15 1843200 1700
33009406 kaminator A Dec. 7, 2017, 7:57 p.m. OK GNU C++14 TESTS 36 15 1843200 1700
32970223 hmc A Dec. 6, 2017, 9:03 a.m. OK GNU C++14 TESTS 36 15 1843200 1700
32942086 CoderSams A Dec. 5, 2017, 7:45 a.m. OK GNU C++14 TESTS 36 15 1843200 1700
32922621 Billyshuai A Dec. 4, 2017, 1:57 p.m. OK GNU C++14 TESTS 36 15 1843200 1700
32896571 wqan1007 A Dec. 3, 2017, 10:42 a.m. OK GNU C++14 TESTS 36 15 1843200 1700
33198908 Phoenix1369 A Dec. 13, 2017, 12:26 a.m. OK GNU C++14 TESTS 36 15 1843200 1700
36200859 vjudge5 A March 11, 2018, 1:18 p.m. OK GNU C++14 TESTS 36 15 1945600 1700
56656705 DrunkCoffee. A July 7, 2019, 8:48 a.m. OK GNU C++17 TESTS 36 15 819200 1700
56668663 maryamalali76 A July 7, 2019, 12:04 p.m. OK GNU C++17 TESTS 36 15 819200 1700
44475416 jaguar1996 A Oct. 18, 2018, 8:40 a.m. OK GNU C++17 TESTS 36 15 1024000 1700
36192640 vjudge5 A March 11, 2018, 8:41 a.m. OK GNU C++17 TESTS 36 15 1945600 1700
36206860 vjudge1 A March 11, 2018, 5:29 p.m. OK GNU C++17 TESTS 36 15 1945600 1700
55235028 manni_M A June 7, 2019, 7:55 a.m. OK GNU C++17 TESTS 36 30 819200 1700
55235005 Smaug A June 7, 2019, 7:54 a.m. OK GNU C++17 TESTS 36 30 819200 1700
48397792 Rahul A Jan. 14, 2019, 6:41 p.m. OK GNU C++17 TESTS 36 30 819200 1700
40699791 PopescuMihai A July 24, 2018, 10:02 a.m. OK GNU C++17 TESTS 36 30 819200 1700
58546260 vjudge2 A Aug. 10, 2019, 4:51 p.m. OK GNU C++17 TESTS 36 30 819200 1700
33099853 umbrellaman D_Star ZKin A Dec. 11, 2017, 11:05 a.m. OK GNU C++17 Diagnostics TESTS 36 873 103014400 1700
32919842 243536998 A Dec. 4, 2017, noon OK GNU C++17 Diagnostics TESTS 36 888 105164800 1700
34583267 Lelby A Jan. 26, 2018, 5:17 p.m. OK GNU C++17 Diagnostics TESTS 36 1013 97996800 1700
32881448 marcosvcloures A Dec. 2, 2017, 6:02 p.m. OK GNU C++17 Diagnostics TESTS 36 1045 106393600 1700
33000098 nysanier A Dec. 7, 2017, 12:19 p.m. OK Go TESTS 36 15 22937600 1700
33881600 Chenyao A Jan. 3, 2018, 9:24 a.m. OK Go TESTS 36 30 24780800 1700
32936253 risenrigel A Dec. 4, 2017, 10:14 p.m. OK Go TESTS 36 30 24780800 1700
32998255 nysanier A Dec. 7, 2017, 10:56 a.m. OK Go TESTS 36 78 60313600 1700
33001950 nysanier A Dec. 7, 2017, 1:40 p.m. OK Go TESTS 36 78 60416000 1700
61855845 Shady51 A Oct. 4, 2019, 2:04 p.m. OK Java 8 TESTS 36 124 7270400 1700
32876676 kessido A Dec. 2, 2017, 4:05 p.m. OK Java 8 TESTS 36 124 20684800 1700
32868318 Musin A Dec. 2, 2017, 2:48 p.m. OK Java 8 TESTS 36 124 20684800 1700
32863899 uwi A Dec. 2, 2017, 2:19 p.m. OK Java 8 TESTS 36 124 20684800 1700
33202334 tri A Dec. 13, 2017, 5 a.m. OK Java 8 TESTS 36 139 20684800 1700
32944958 CrazyBBB A Dec. 5, 2017, 10:17 a.m. OK Java 8 TESTS 36 139 20684800 1700
42360348 KulikAlex A Sept. 2, 2018, 11:30 a.m. OK Java 8 TESTS 36 140 0 1700
53679067 Vishal_dhanani A May 2, 2019, 5:52 p.m. OK Java 8 TESTS 36 140 7884800 1700
39448711 xodiac A June 21, 2018, 1:33 a.m. OK Java 8 TESTS 36 140 10240000 1700
32899740 martin3 A Dec. 3, 2017, 1:11 p.m. OK Java 8 TESTS 36 140 20684800 1700
32866607 Sergey.Bankevich A Dec. 2, 2017, 2:33 p.m. OK Kotlin TESTS 36 171 21196800 1700
32872396 kuuso A Dec. 2, 2017, 3:33 p.m. OK Mono C# TESTS 36 62 14745600 1700
33003053 leonidvasilyev A Dec. 7, 2017, 2:15 p.m. OK MS C# TESTS 36 46 9318400 1700
32866232 chokudai A Dec. 2, 2017, 2:31 p.m. OK MS C# TESTS 36 62 10035200 1700
33006832 leonidvasilyev A Dec. 7, 2017, 5:28 p.m. OK MS C# TESTS 36 77 17817600 1700
33024441 scorpiowf A Dec. 8, 2017, 2:02 p.m. OK MS C++ TESTS 36 15 2048000 1700
33049950 hamed053 A Dec. 9, 2017, 1:18 p.m. OK MS C++ TESTS 36 15 2150400 1700
32870479 16silver A Dec. 2, 2017, 3:11 p.m. OK MS C++ TESTS 36 15 2867200 1700
32867427 mshcherba A Dec. 2, 2017, 2:40 p.m. OK MS C++ TESTS 36 15 2867200 1700
32863229 waltz A Dec. 2, 2017, 2:16 p.m. OK MS C++ TESTS 36 15 2867200 1700
32902120 Loesen A Dec. 3, 2017, 3:16 p.m. OK MS C++ TESTS 36 15 2969600 1700
32907862 AleksanderBalobanov A Dec. 3, 2017, 8:36 p.m. OK MS C++ TESTS 36 15 3686400 1700
32863832 LLI_E_P_JI_O_K A Dec. 2, 2017, 2:18 p.m. OK MS C++ TESTS 36 15 4198400 1700
49974368 vjudge5 A Feb. 16, 2019, 5:02 a.m. OK MS C++ TESTS 36 30 1331200 1700
42536587 vjudge3 A Sept. 6, 2018, 2:08 a.m. OK MS C++ TESTS 36 31 204800 1700
33030851 atryapa A Dec. 8, 2017, 6:14 p.m. OK PascalABC.NET TESTS 36 46 13209600 1700
55222881 armoking A June 6, 2019, 9:12 p.m. OK PyPy 3 TESTS 36 155 307200 1700
55222999 armoking A June 6, 2019, 9:19 p.m. OK PyPy 3 TESTS 36 170 307200 1700
32969895 xlk A Dec. 6, 2017, 8:49 a.m. OK Python 2 TESTS 36 654 7475200 1700
32872187 WNG A Dec. 2, 2017, 3:31 p.m. OK Python 2 TESTS 36 686 5427200 1700
32876410 nwi A Dec. 2, 2017, 4:03 p.m. OK Python 2 TESTS 36 1122 19865600 1700
33076322 ZhouHouQian A Dec. 10, 2017, 8:57 a.m. OK Python 2 TESTS 36 1138 7577600 1700
32873060 1heart2plans A Dec. 2, 2017, 3:40 p.m. OK Python 2 TESTS 36 1201 7372800 1700
32866488 Neil A Dec. 2, 2017, 2:32 p.m. OK Python 2 TESTS 36 1497 5222400 1700
33053839 mtarunsai1999 A Dec. 9, 2017, 3:01 p.m. OK Python 3 TESTS 36 62 10956800 1700
67188814 wakii A Dec. 19, 2019, 6:10 a.m. OK Python 3 TESTS 36 109 307200 1700
33619018 jirlock A Dec. 25, 2017, 2:13 p.m. OK Python 3 TESTS 36 264 16179200 1700
38904797 imyangzzzzzz A June 2, 2018, 10:43 p.m. OK Python 3 TESTS 36 296 7065600 1700
32911116 Jiburiru A Dec. 4, 2017, 1:47 a.m. OK Python 3 TESTS 36 343 5529600 1700
32881771 algmyr A Dec. 2, 2017, 6:14 p.m. OK Python 3 TESTS 36 498 5529600 1700
32865220 themikemikovi4 A Dec. 2, 2017, 2:25 p.m. OK Python 3 TESTS 36 577 5939200 1700
32871668 Georeth A Dec. 2, 2017, 3:25 p.m. OK Python 3 TESTS 36 655 5939200 1700
32922681 cristian1997 A Dec. 4, 2017, 2 p.m. OK Python 3 TESTS 36 1419 5939200 1700
33022143 s_p A Dec. 8, 2017, 12:21 p.m. OK Python 3 TESTS 36 1481 5529600 1700

remove filters

Back to search problems