Codeforces Round 263 (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
461 Codeforces Round 263 (Div. 1) FINISHED False 7200 328550404 Aug. 26, 2014, 2 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 1339 ) C Appleman and a Sheet of Paper PROGRAMMING data structures implementation 2500

B'Appleman has a very big sheet of paper. This sheet has a form of rectangle with dimensions 1 xe2 x80 x89 xc3 x97 xe2 x80 x89n. Your task is help Appleman with folding of such a sheet. Actually, you need to perform q queries. Each query will have one of the following types: Please look at the explanation of the first test example for better understanding of the problem. The first line contains two integers: n and q (1 xe2 x80 x89 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89105; 1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89q xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89105) -- the width of the paper and the number of queries. Each of the following q lines contains one of the described queries in the following format: For each query of the second type, output the answer. The pictures below show the shapes of the paper during the queries of the first example: After the first fold operation the sheet has width equal to 4, after the second one the width of the sheet equals to 2.'...

Tutorials

Tutorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
7591394 hos.lyric C Aug. 26, 2014, 3:09 p.m. OK D TESTS 25 109 4198400 2500
7595131 Gassa C Aug. 26, 2014, 3:52 p.m. OK D TESTS 25 140 2150400 2500
7846590 Vitaha C Sept. 18, 2014, 11:57 p.m. OK Delphi TESTS 25 62 1126400 2500
8169331 giangpro93 C Oct. 10, 2014, 8:31 p.m. OK FPC TESTS 25 186 409600 2500
15142992 HappyNewYearMike C Dec. 31, 2015, 10:58 p.m. OK FPC TESTS 25 218 409600 2500
11196936 vjudge4 C May 22, 2015, 3:11 a.m. OK FPC TESTS 25 218 409600 2500
7594958 Alex_2oo8 C Aug. 26, 2014, 3:50 p.m. OK FPC TESTS 25 218 7987200 2500
11236533 chenjb C May 23, 2015, 10:06 a.m. OK FPC TESTS 25 233 409600 2500
41573402 TsReaper C Aug. 14, 2018, 1:45 a.m. OK GNU C TESTS 25 78 409600 2500
7593882 nvshen C Aug. 26, 2014, 3:36 p.m. OK GNU C TESTS 25 93 921600 2500
7674026 dashuiren C Sept. 3, 2014, 12:02 p.m. OK GNU C++ TESTS 25 31 409600 2500
7667834 3136016043 C Sept. 2, 2014, 1:31 p.m. OK GNU C++ TESTS 25 31 409600 2500
7593598 lchf C Aug. 26, 2014, 3:33 p.m. OK GNU C++ TESTS 25 31 409600 2500
7655102 Leo_Yu C Aug. 31, 2014, 2:57 p.m. OK GNU C++ TESTS 25 31 819200 2500
7606509 Tim_LinYd C Aug. 27, 2014, 3:10 p.m. OK GNU C++ TESTS 25 31 819200 2500
7613218 Ioser C Aug. 28, 2014, 11:18 a.m. OK GNU C++ TESTS 25 31 1536000 2500
25873936 cbhcbh C March 28, 2017, 12:56 p.m. OK GNU C++ TESTS 25 31 2867200 2500
7587055 LayCurse C Aug. 26, 2014, 2:36 p.m. OK GNU C++ TESTS 25 31 10137600 2500
40988077 ReaLNero1 C July 30, 2018, 9:43 p.m. OK GNU C++ TESTS 25 46 409600 2500
11722568 gerw C June 23, 2015, 12:13 p.m. OK GNU C++ TESTS 25 46 409600 2500
7603127 whn6325689 C Aug. 27, 2014, 8:03 a.m. OK GNU C++0x TESTS 25 31 409600 2500
7612792 MinakoKojima C Aug. 28, 2014, 10:17 a.m. OK GNU C++0x TESTS 25 46 409600 2500
8646727 I_love_Hoang_Yen C Nov. 11, 2014, 9:14 a.m. OK GNU C++0x TESTS 25 46 512000 2500
7594988 MinakoKojima C Aug. 26, 2014, 3:50 p.m. OK GNU C++0x TESTS 25 46 819200 2500
7622115 pompon C Aug. 29, 2014, 2:30 p.m. OK GNU C++0x TESTS 25 62 409600 2500
7592738 pavel.savchenkov C Aug. 26, 2014, 3:23 p.m. OK GNU C++0x TESTS 25 62 409600 2500
7733014 Dgleich C Sept. 10, 2014, 7:20 a.m. OK GNU C++0x TESTS 25 62 512000 2500
7615266 k0st1a C Aug. 28, 2014, 4:42 p.m. OK GNU C++0x TESTS 25 62 512000 2500
9354360 MuratKhayrulin C Jan. 3, 2015, 4:34 p.m. OK GNU C++0x TESTS 25 62 819200 2500
7662345 rais.fathin38 C Sept. 1, 2014, 4:18 p.m. OK GNU C++0x TESTS 25 62 819200 2500
52134660 time_interspace C April 1, 2019, 1:01 a.m. OK GNU C++11 TESTS 25 31 409600 2500
32541354 Georeth C Nov. 22, 2017, 6:12 a.m. OK GNU C++11 TESTS 25 31 409600 2500
20752387 wwyyxx C Sept. 19, 2016, 10:36 a.m. OK GNU C++11 TESTS 25 31 3788800 2500
65298347 ILoLy C Nov. 18, 2019, 12:20 p.m. OK GNU C++11 TESTS 25 31 3891200 2500
65298303 ILoLy C Nov. 18, 2019, 12:19 p.m. OK GNU C++11 TESTS 25 31 3891200 2500
52000602 luogu_bot2 C March 30, 2019, 6:01 a.m. OK GNU C++11 TESTS 25 46 204800 2500
52000574 Fubuki C March 30, 2019, 6 a.m. OK GNU C++11 TESTS 25 46 204800 2500
49198395 AndyMo C Jan. 30, 2019, 11:29 a.m. OK GNU C++11 TESTS 25 46 204800 2500
52140984 luogu_bot4 C April 1, 2019, 6:42 a.m. OK GNU C++11 TESTS 25 46 409600 2500
52138518 luogu_bot2 C April 1, 2019, 5:16 a.m. OK GNU C++11 TESTS 25 46 409600 2500
52076745 Nostalgically C March 31, 2019, 10:24 a.m. OK GNU C++14 TESTS 25 31 5120000 2500
35274724 kjp4155 C Feb. 14, 2018, 7:27 p.m. OK GNU C++14 TESTS 25 62 2252800 2500
26497923 562225807 C April 19, 2017, 2:23 p.m. OK GNU C++14 TESTS 25 62 2252800 2500
66816023 Nson C Dec. 14, 2019, 5:47 a.m. OK GNU C++14 TESTS 25 78 409600 2500
52927085 the_compiler C April 17, 2019, 9:34 p.m. OK GNU C++14 TESTS 25 78 409600 2500
67271737 ElangBondol C Dec. 20, 2019, 8:35 a.m. OK GNU C++14 TESTS 25 78 819200 2500
23340799 yanQval C Dec. 26, 2016, 1:21 p.m. OK GNU C++14 TESTS 25 78 2355200 2500
36126285 naumazeredo C March 9, 2018, 6:12 p.m. OK GNU C++14 TESTS 25 78 2662400 2500
51943180 Maruf_75 C March 28, 2019, 3:27 p.m. OK GNU C++14 TESTS 25 93 409600 2500
26970701 Xin-Jie C May 9, 2017, 9:12 a.m. OK GNU C++14 TESTS 25 93 409600 2500
51163432 nimphy C March 11, 2019, 1:22 p.m. OK GNU C++17 TESTS 25 61 1024000 2500
51163430 vjudge1 C March 11, 2019, 1:22 p.m. OK GNU C++17 TESTS 25 77 1024000 2500
50909250 lmiskiew C March 6, 2019, 11:26 p.m. OK GNU C++17 TESTS 25 77 1024000 2500
59932066 ruo C Sept. 3, 2019, 7:40 a.m. OK GNU C++17 TESTS 25 78 409600 2500
49518896 vjudge3 C Feb. 6, 2019, 6:19 a.m. OK GNU C++17 TESTS 25 78 614400 2500
45582192 cephian C Nov. 12, 2018, 5:48 a.m. OK GNU C++17 TESTS 25 78 1638400 2500
64276884 ivan100sic C Nov. 4, 2019, 10:07 p.m. OK GNU C++17 TESTS 25 93 409600 2500
39199241 Smaug C June 12, 2018, 6:43 p.m. OK GNU C++17 TESTS 25 93 409600 2500
68206136 Phortox C Jan. 4, 2020, 5:27 p.m. OK GNU C++17 TESTS 25 93 819200 2500
65268027 FlowerOfSorrow C Nov. 17, 2019, 6:08 p.m. OK GNU C++17 TESTS 25 93 819200 2500
7615304 ronaflx C Aug. 28, 2014, 4:50 p.m. OK Go TESTS 25 561 0 2500
7615313 ronaflx C Aug. 28, 2014, 4:51 p.m. OK Go TESTS 25 577 102400 2500
7589863 meijun C Aug. 26, 2014, 2:56 p.m. OK Java 6 TESTS 25 296 0 2500
7594434 Lewin C Aug. 26, 2014, 3:43 p.m. OK Java 6 TESTS 25 421 102400 2500
7589246 ftiasch C Aug. 26, 2014, 2:51 p.m. OK Java 7 TESTS 25 93 0 2500
7585017 uwi C Aug. 26, 2014, 2:24 p.m. OK Java 7 TESTS 25 93 0 2500
7591803 dnk C Aug. 26, 2014, 3:13 p.m. OK Java 7 TESTS 25 140 0 2500
7599710 shamir0xe C Aug. 26, 2014, 8:44 p.m. OK Java 7 TESTS 25 140 102400 2500
7600355 edorundo C Aug. 26, 2014, 11:30 p.m. OK Java 7 TESTS 25 155 204800 2500
7597643 dusty.and.rusty C Aug. 26, 2014, 5:15 p.m. OK Java 7 TESTS 25 187 102400 2500
8557198 qingwen C Nov. 5, 2014, 11:26 a.m. OK Java 7 TESTS 25 202 0 2500
7940167 mashinist C Sept. 24, 2014, 7:27 p.m. OK Java 7 TESTS 25 218 0 2500
7958109 sweiss C Sept. 26, 2014, 3:03 p.m. OK Java 7 TESTS 25 421 204800 2500
7718202 I_love_Malika C Sept. 8, 2014, 5:05 a.m. OK Java 7 TESTS 25 436 102400 2500
28211696 U_Square C July 2, 2017, 1:53 p.m. OK Java 8 TESTS 25 139 20582400 2500
37924236 Musin C May 6, 2018, 8:59 a.m. OK Java 8 TESTS 25 155 20787200 2500
10229185 alibaba C March 10, 2015, 5:35 p.m. OK Java 8 TESTS 25 171 0 2500
37914192 Musin C May 5, 2018, 8:09 p.m. OK Java 8 TESTS 25 202 20684800 2500
43053091 AQT C Sept. 19, 2018, 12:18 a.m. OK Java 8 TESTS 25 233 0 2500
38656040 Slamur C May 27, 2018, 1:15 p.m. OK Java 8 TESTS 25 280 0 2500
7683171 deepshine C Sept. 4, 2014, 3:47 p.m. OK Java 8 TESTS 25 389 2150400 2500
7622746 IgorKoval C Aug. 29, 2014, 3:57 p.m. OK Java 8 TESTS 25 483 2457600 2500
7587311 Egor C Aug. 26, 2014, 2:37 p.m. OK Java 8 TESTS 25 483 5836800 2500
11708925 old_arysson C June 22, 2015, 12:18 p.m. OK Java 8 TESTS 25 545 0 2500
8468909 camypaper C Oct. 29, 2014, 12:18 p.m. OK MS C# TESTS 25 77 3481600 2500
7687860 zzb619 C Sept. 5, 2014, 12:15 p.m. OK MS C++ TESTS 25 62 409600 2500
8619392 tangchuanxin C Nov. 9, 2014, 3:02 a.m. OK MS C++ TESTS 25 62 819200 2500
7593115 Seyaua C Aug. 26, 2014, 3:27 p.m. OK MS C++ TESTS 25 62 819200 2500
7618104 HandIeNeeded C Aug. 29, 2014, 3:29 a.m. OK MS C++ TESTS 25 62 921600 2500
7596714 hongjun-7 C Aug. 26, 2014, 4:38 p.m. OK MS C++ TESTS 25 62 4198400 2500
7587923 sdya C Aug. 26, 2014, 2:42 p.m. OK MS C++ TESTS 25 77 921600 2500
7610096 lastseed C Aug. 28, 2014, 2:47 a.m. OK MS C++ TESTS 25 77 1228800 2500
7597882 mjy0503 C Aug. 26, 2014, 5:28 p.m. OK MS C++ TESTS 25 77 1638400 2500
7601082 iamexist C Aug. 27, 2014, 2:21 a.m. OK MS C++ TESTS 25 78 409600 2500
7667510 QProgS C Sept. 2, 2014, 12:39 p.m. OK MS C++ TESTS 25 78 819200 2500
7690515 vanadium C Sept. 5, 2014, 9:59 p.m. OK Python 3 TESTS 25 1496 2355200 2500
39018189 cympfh C June 7, 2018, 11:47 a.m. OK Rust TESTS 25 670 409600 2500

remove filters

Back to search problems