Technocup 2017 - Elimination Round 3

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
748 Technocup 2017 - Elimination Round 3 FINISHED False 7200 254868923 Dec. 25, 2016, 9:05 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 9040 ) A Santa Claus and a Place in a Class PROGRAMMING implementation math 900

B'Santa Claus is the first who came to the Christmas Olympiad, and he is going to be the first to take his place at a desk! In the classroom there are n lanes of m desks each, and there are two working places at each of the desks. The lanes are numbered from 1 to n from the left to the right, the desks in a lane are numbered from 1 to m starting from the blackboard. Note that the lanes go perpendicularly to the blackboard, not along it (see picture). The organizers numbered all the working places from 1 to 2nm. The places are numbered by lanes (i. e. all the places of the first lane go first, then all the places of the second lane, and so on), in a lane the places are numbered starting from the nearest to the blackboard (i. e. from the first desk in the lane), at each desk, the place on the left is numbered before the place on the right. Santa Clause knows that his place has number k. Help him to determine at which lane at which desk he should sit, and whether his place is on the left or on the right! The only line contains three integers n, m and k (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n, xe2 x80 x89m xe2 x80 x89 xe2 x89 xa4 xe2 x80 x8910 xe2 x80 x89000, 1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89k xe2 x80 x89 xe2 x89 xa4 xe2 x80 x892nm) -- the number of lanes, the number of desks in each lane and the number of Santa Claus ' place. Print two integers: the number of lane r, the number of desk d, and a character s, which stands for the side of the desk Santa Claus. The character s should be "L", if Santa Clause should sit on the left, and "R" if his place is on the right. The first and the second samples are shown on the picture. The green place corresponds to Santa Claus ' place in the first example, the blue place corresponds to Santa Claus ' place in the second example. In the third sample there are two lanes with four desks in each, and Santa Claus has the fourth place. Thus, his place is in the first lane at the second desk on the right. '...

Tutorials

Codeforces Round 389 (Div.2) Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
23288802 MrLolthe1st A Dec. 25, 2016, 9:14 a.m. OK Delphi TESTS 46 15 2560000 900
23288889 alexis15 A Dec. 25, 2016, 9:14 a.m. OK Delphi TESTS 46 15 2560000 900
23321920 Ishbaev A Dec. 25, 2016, 6:54 p.m. OK Delphi TESTS 46 30 2560000 900
23289376 NotOsikov A Dec. 25, 2016, 9:16 a.m. OK Delphi TESTS 46 30 2560000 900
52502304 ruban A April 8, 2019, 4:43 p.m. OK Delphi TESTS 46 31 0 900
23306662 Tarnum A Dec. 25, 2016, 11:44 a.m. OK Delphi TESTS 46 31 2560000 900
23292134 uuuhuuu A Dec. 25, 2016, 9:30 a.m. OK Delphi TESTS 46 31 2560000 900
23306591 Tarnum A Dec. 25, 2016, 11:43 a.m. OK Delphi TESTS 46 31 2560000 900
27419558 maksin313 A May 28, 2017, 8:36 p.m. OK FPC TESTS 46 15 0 900
30926263 nickimpark A Oct. 1, 2017, 10:01 p.m. OK FPC TESTS 46 15 0 900
25778096 ilyalidam A March 24, 2017, 4:12 p.m. OK FPC TESTS 46 15 1638400 900
24536394 TShT A Feb. 8, 2017, 8:34 p.m. OK FPC TESTS 46 15 1638400 900
24517375 Gnom.Ik A Feb. 8, 2017, 3:59 a.m. OK FPC TESTS 46 15 1638400 900
24456519 hot_dog A Feb. 5, 2017, 5:38 p.m. OK FPC TESTS 46 15 1638400 900
24143190 Gray_58 A Jan. 26, 2017, 5:32 a.m. OK FPC TESTS 46 15 1638400 900
24093332 56789034 A Jan. 24, 2017, 2:22 p.m. OK FPC TESTS 46 15 1638400 900
24076930 vjudge1 A Jan. 23, 2017, 5:36 p.m. OK FPC TESTS 46 15 1638400 900
23756322 Artemx A Jan. 12, 2017, 4:42 p.m. OK FPC TESTS 46 15 1638400 900
27818999 NoSoul A June 16, 2017, 7:06 a.m. OK GNU C TESTS 46 15 0 900
26960975 45sakib A May 8, 2017, 4:47 p.m. OK GNU C TESTS 46 15 0 900
26863771 Shajid_ A May 4, 2017, 5:59 p.m. OK GNU C TESTS 46 15 0 900
32908941 Sima214 A Dec. 3, 2017, 9:50 p.m. OK GNU C TESTS 46 15 1843200 900
32911271 quantum_ A Dec. 4, 2017, 2:08 a.m. OK GNU C TESTS 46 15 1843200 900
32911059 itsundefined A Dec. 4, 2017, 1:39 a.m. OK GNU C TESTS 46 15 1843200 900
32909171 axilleas99 A Dec. 3, 2017, 10:11 p.m. OK GNU C TESTS 46 15 1843200 900
32907561 Panosfunk A Dec. 3, 2017, 8:19 p.m. OK GNU C TESTS 46 15 1843200 900
32907416 lou21 A Dec. 3, 2017, 8:10 p.m. OK GNU C TESTS 46 15 1843200 900
32905976 Xiphunon A Dec. 3, 2017, 6:48 p.m. OK GNU C TESTS 46 15 1843200 900
30398411 Mr_President A Sept. 16, 2017, 6:55 p.m. OK GNU C++ TESTS 46 15 0 900
30336598 LuftAffe A Sept. 14, 2017, 6:44 p.m. OK GNU C++ TESTS 46 15 0 900
29640740 TEAs A Aug. 21, 2017, 10:04 a.m. OK GNU C++ TESTS 46 15 0 900
27693169 Fred_Flintstone A June 9, 2017, 4:47 p.m. OK GNU C++ TESTS 46 15 0 900
27674529 vjudge3 A June 8, 2017, 3:30 p.m. OK GNU C++ TESTS 46 15 0 900
27438892 SoSad A May 30, 2017, 3:04 a.m. OK GNU C++ TESTS 46 15 0 900
26922855 vjudge4 A May 7, 2017, noon OK GNU C++ TESTS 46 15 0 900
26896904 vjudge3 A May 6, 2017, 8:48 a.m. OK GNU C++ TESTS 46 15 0 900
26896862 201601060215 A May 6, 2017, 8:45 a.m. OK GNU C++ TESTS 46 15 0 900
30298066 Jiyixiaoli A Sept. 13, 2017, 2:38 a.m. OK GNU C++ TESTS 46 15 1024000 900
23390701 Sagar7390 A Dec. 29, 2016, 5:27 a.m. OK GNU C11 TESTS 46 15 1843200 900
32907295 nefeli_nt A Dec. 3, 2017, 8:03 p.m. OK GNU C11 TESTS 46 15 1843200 900
32903545 kosliap A Dec. 3, 2017, 4:32 p.m. OK GNU C11 TESTS 46 15 1843200 900
32881094 spkl A Dec. 2, 2017, 5:51 p.m. OK GNU C11 TESTS 46 15 1843200 900
32881010 spkl A Dec. 2, 2017, 5:49 p.m. OK GNU C11 TESTS 46 15 1843200 900
32672778 vjudge1 A Nov. 26, 2017, 1:34 p.m. OK GNU C11 TESTS 46 15 1843200 900
25540708 less_or_equal A March 16, 2017, 7:13 a.m. OK GNU C11 TESTS 46 15 1843200 900
24352201 Alaa12 A Feb. 1, 2017, 6:28 p.m. OK GNU C11 TESTS 46 15 1843200 900
23848108 vjudge3 A Jan. 15, 2017, 5:10 p.m. OK GNU C11 TESTS 46 15 1843200 900
23481633 Ankitv17 A Jan. 1, 2017, 10:34 a.m. OK GNU C11 TESTS 46 15 1843200 900
31718799 code_1289 A Oct. 25, 2017, 5:18 p.m. OK GNU C++11 TESTS 46 15 0 900
32244909 denventeria A Nov. 12, 2017, 1:36 p.m. OK GNU C++11 TESTS 46 15 0 900
32125072 alavrov A Nov. 7, 2017, 4:17 p.m. OK GNU C++11 TESTS 46 15 0 900
30375057 donder A Sept. 16, 2017, 2:31 a.m. OK GNU C++11 TESTS 46 15 0 900
30311075 SemaDzhan A Sept. 13, 2017, 3:55 p.m. OK GNU C++11 TESTS 46 15 0 900
30272785 K38 A Sept. 11, 2017, 7:07 p.m. OK GNU C++11 TESTS 46 15 0 900
29554002 CrioPhoenixx A Aug. 18, 2017, 1:17 p.m. OK GNU C++11 TESTS 46 15 0 900
29545423 K38 A Aug. 18, 2017, 7:20 a.m. OK GNU C++11 TESTS 46 15 0 900
29509964 LODB---D A Aug. 16, 2017, 4:35 p.m. OK GNU C++11 TESTS 46 15 0 900
27819947 Live_Forever A June 16, 2017, 8:05 a.m. OK GNU C++11 TESTS 46 15 0 900
31894689 kemega A Oct. 30, 2017, 1:23 p.m. OK GNU C++14 TESTS 46 15 0 900
31925818 alexsuh A Oct. 31, 2017, 3:24 p.m. OK GNU C++14 TESTS 46 15 0 900
32058898 Errorrr A Nov. 4, 2017, 4:55 p.m. OK GNU C++14 TESTS 46 15 0 900
32284439 callistustan A Nov. 13, 2017, 12:52 p.m. OK GNU C++14 TESTS 46 15 0 900
32528804 Abdulbosit.Abdullo A Nov. 21, 2017, 2:56 p.m. OK GNU C++14 TESTS 46 15 0 900
55081281 skatmddnjs0604 A June 4, 2019, 10:50 a.m. OK GNU C++14 TESTS 46 15 0 900
50043262 lyfe A Feb. 17, 2019, 3:54 a.m. OK GNU C++14 TESTS 46 15 0 900
47035905 del123 A Dec. 15, 2018, 12:11 p.m. OK GNU C++14 TESTS 46 15 0 900
42189039 1dayExpert A Aug. 28, 2018, 12:58 a.m. OK GNU C++14 TESTS 46 15 0 900
32531994 Ayazbayev_D A Nov. 21, 2017, 5:19 p.m. OK GNU C++14 TESTS 46 15 0 900
55976014 vjudge4 A June 23, 2019, 5:32 p.m. OK GNU C++17 TESTS 46 15 0 900
52160523 Bohoty A April 1, 2019, 3:04 p.m. OK GNU C++17 TESTS 46 15 0 900
47288114 ItzBeam A Dec. 20, 2018, 7:31 a.m. OK GNU C++17 TESTS 46 15 0 900
39280786 joker70 A June 16, 2018, 6:53 a.m. OK GNU C++17 TESTS 46 15 0 900
38992131 karasek A June 6, 2018, 10:51 a.m. OK GNU C++17 TESTS 46 15 0 900
55677199 frikhaa A June 17, 2019, 11:06 a.m. OK GNU C++17 TESTS 46 30 0 900
56701461 AleSHka123 A July 8, 2019, 9:16 a.m. OK GNU C++17 TESTS 46 30 0 900
61735812 ilya-rv A Oct. 2, 2019, 6:10 p.m. OK GNU C++17 TESTS 46 30 0 900
68381391 Zahidul_Islam A Jan. 8, 2020, 1:36 a.m. OK GNU C++17 TESTS 46 30 0 900
68395431 HexA_DecImal A Jan. 8, 2020, 10:49 a.m. OK GNU C++17 TESTS 46 30 0 900
26448151 yuliang A April 17, 2017, 7:22 a.m. OK Go TESTS 46 15 23040000 900
47384326 sinapusu2002 A Dec. 23, 2018, 2:35 a.m. OK Haskell TESTS 46 31 8396800 900
46629687 jedikni A Dec. 5, 2018, 1:35 a.m. OK Haskell TESTS 46 31 8396800 900
47769063 CharlesDai A Dec. 30, 2018, 7:32 p.m. OK Java 8 TESTS 46 109 0 900
68081108 laylay A Jan. 2, 2020, 2:24 p.m. OK Java 8 TESTS 46 109 0 900
56531885 Harbin A July 4, 2019, 8:17 p.m. OK Java 8 TESTS 46 109 0 900
54251694 Ikari_stream A May 16, 2019, 5:35 p.m. OK Java 8 TESTS 46 109 0 900
45310421 I.A.K.O.V A Nov. 5, 2018, 3:26 a.m. OK Java 8 TESTS 46 109 0 900
27693668 IRONALEKS A June 9, 2017, 5:23 p.m. OK Java 8 TESTS 46 109 0 900
27150096 Bibhuti A May 16, 2017, 4:50 a.m. OK Java 8 TESTS 46 109 0 900
25364766 sevimlikedicik A March 9, 2017, 4:39 p.m. OK Java 8 TESTS 46 109 20480000 900
25682929 da_201612051 A March 21, 2017, 7:31 a.m. OK Java 8 TESTS 46 109 20480000 900
25006855 mDziewanowski A Feb. 25, 2017, 8:28 a.m. OK Java 8 TESTS 46 109 20480000 900
23365845 Ablay_adil A Dec. 27, 2016, 7:19 p.m. OK JavaScript TESTS 46 31 6246400 900
23293994 sa_z20004463 A Dec. 25, 2016, 9:41 a.m. OK JavaScript TESTS 46 46 6144000 900
42913470 tumoyakov A Sept. 16, 2018, 8:24 a.m. OK Kotlin TESTS 46 171 102400 900
44274385 nemars A Oct. 13, 2018, 8:20 p.m. OK Mono C# TESTS 46 46 0 900
69187402 75number A Jan. 20, 2020, 12:25 p.m. OK Mono C# TESTS 46 62 3584000 900
50771462 yerzh A March 4, 2019, 5:11 a.m. OK Mono C# TESTS 46 62 3686400 900
23471463 MohamedShaker A Dec. 31, 2016, 2:58 p.m. OK Mono C# TESTS 46 77 9113600 900
23472099 MohamedShaker A Dec. 31, 2016, 3:46 p.m. OK Mono C# TESTS 46 93 9113600 900
31794911 Skndr A Oct. 27, 2017, 12:29 p.m. OK MS C# TESTS 46 46 0 900
23293307 PhysTech A Dec. 25, 2016, 9:36 a.m. OK MS C# TESTS 46 46 9011200 900
23650035 maha.salem A Jan. 8, 2017, 5:13 p.m. OK MS C# TESTS 46 61 9011200 900
23387218 freenick A Dec. 28, 2016, 9:20 p.m. OK MS C# TESTS 46 61 9113600 900
23291659 Spirys A Dec. 25, 2016, 9:27 a.m. OK MS C# TESTS 46 62 9011200 900
23290941 zelyanin A Dec. 25, 2016, 9:24 a.m. OK MS C# TESTS 46 62 9011200 900
23361466 Stepavly A Dec. 27, 2016, 2:56 p.m. OK MS C# TESTS 46 62 9011200 900
23388560 Sipher A Dec. 29, 2016, 12:08 a.m. OK MS C# TESTS 46 62 9011200 900
23485714 m1_k3 A Jan. 1, 2017, 3:23 p.m. OK MS C# TESTS 46 62 9113600 900
24564521 robolution.dark A Feb. 10, 2017, 7:28 a.m. OK MS C# TESTS 46 62 9113600 900
27459229 Kniaz A May 31, 2017, 4:51 a.m. OK MS C++ TESTS 46 15 204800 900
25393527 vjudge3 A March 11, 2017, 5:18 a.m. OK MS C++ TESTS 46 15 2048000 900
25093370 Kettlebell A Feb. 28, 2017, 5:43 a.m. OK MS C++ TESTS 46 15 2048000 900
25049459 vjudge1 A Feb. 26, 2017, 10:49 a.m. OK MS C++ TESTS 46 15 2048000 900
24425165 houtianqian A Feb. 4, 2017, 5:24 a.m. OK MS C++ TESTS 46 15 2048000 900
28825075 vjudge3 A July 24, 2017, 1:03 p.m. OK MS C++ TESTS 46 15 2048000 900
27947335 daniil.maltsev.md A June 21, 2017, 1:55 p.m. OK MS C++ TESTS 46 15 2048000 900
28824343 vjudge2 A July 24, 2017, 12:34 p.m. OK MS C++ TESTS 46 15 2048000 900
26741437 vjudge4 A April 29, 2017, 6:20 a.m. OK MS C++ TESTS 46 15 2048000 900
26690038 delivron A April 26, 2017, 6:57 p.m. OK MS C++ TESTS 46 15 2048000 900
59839708 hosein_bidaki A Sept. 1, 2019, 6:35 a.m. OK MS C++ 2017 TESTS 46 31 0 900
68314380 Tangerine A Jan. 6, 2020, 12:38 p.m. OK MS C++ 2017 TESTS 46 31 0 900
62248705 parisa.mqdm A Oct. 10, 2019, 8:18 a.m. OK MS C++ 2017 TESTS 46 31 0 900
60454073 majid.sepasi A Sept. 12, 2019, 5:08 p.m. OK MS C++ 2017 TESTS 46 31 0 900
60223529 Onlykarting A Sept. 7, 2019, 2:34 p.m. OK MS C++ 2017 TESTS 46 31 0 900
57291691 FumeiYaziwa A July 18, 2019, 5:01 p.m. OK MS C++ 2017 TESTS 46 31 0 900
56044475 CtrlAlt A June 25, 2019, 3:55 p.m. OK MS C++ 2017 TESTS 46 31 0 900
55559286 zahra.kh A June 14, 2019, 11:42 a.m. OK MS C++ 2017 TESTS 46 31 0 900
55300561 Moen1578 A June 8, 2019, 11:51 a.m. OK MS C++ 2017 TESTS 46 31 0 900
53310684 JuicyCloud12609 A April 26, 2019, 6:30 a.m. OK MS C++ 2017 TESTS 46 31 0 900
62330380 fc-lib-xyz A Oct. 10, 2019, 8:23 p.m. OK Node.js TESTS 46 202 204800 900
45944433 Sashka2002 A Nov. 18, 2018, 9:51 p.m. OK PascalABC.NET TESTS 46 46 0 900
66309534 AndreyStarostin A Dec. 5, 2019, 10:52 a.m. OK PascalABC.NET TESTS 46 187 0 900
23294143 NeTLeaDeR A Dec. 25, 2016, 9:42 a.m. OK PHP TESTS 46 46 6041600 900
25060855 Unlenin A Feb. 26, 2017, 5:17 p.m. OK PyPy 2 TESTS 46 77 22016000 900
24810802 ebanner A Feb. 19, 2017, 9:13 p.m. OK PyPy 2 TESTS 46 108 22016000 900
23555387 APwhitehat A Jan. 5, 2017, 1:21 p.m. OK PyPy 2 TESTS 46 139 22016000 900
51343859 Sevlll A March 15, 2019, 5:26 p.m. OK PyPy 3 TESTS 46 139 0 900
23940426 Eveiller A Jan. 19, 2017, 8:47 a.m. OK PyPy 3 TESTS 46 139 23347200 900
57832886 sajjad_firouze A July 27, 2019, 6:37 a.m. OK PyPy 3 TESTS 46 140 0 900
57914440 samvelochka A July 28, 2019, 11:50 p.m. OK PyPy 3 TESTS 46 140 0 900
55979133 vjudge3 A June 23, 2019, 7:34 p.m. OK PyPy 3 TESTS 46 140 0 900
55934152 Ajay_Modi A June 22, 2019, 1:03 p.m. OK PyPy 3 TESTS 46 140 0 900
54653578 Aidos A May 26, 2019, 6:58 a.m. OK PyPy 3 TESTS 46 140 0 900
51439780 MEJlAHXOJluK A March 18, 2019, 9:09 a.m. OK PyPy 3 TESTS 46 140 307200 900
49854465 AbduSharif A Feb. 13, 2019, 6:24 a.m. OK PyPy 3 TESTS 46 140 307200 900
59510185 CryUnderRain A Aug. 26, 2019, 7:41 a.m. OK PyPy 3 TESTS 46 140 1228800 900
30329915 isgulkov A Sept. 14, 2017, 1:43 p.m. OK Python 2 TESTS 46 61 0 900
24061273 vaibhav28 A Jan. 23, 2017, 2:12 a.m. OK Python 2 TESTS 46 61 4608000 900
23487289 WhatTheFua A Jan. 1, 2017, 5:17 p.m. OK Python 2 TESTS 46 61 4608000 900
26504477 Kooli A April 19, 2017, 9:28 p.m. OK Python 2 TESTS 46 61 4710400 900
30937995 onlysea212 A Oct. 2, 2017, 9 a.m. OK Python 2 TESTS 46 62 0 900
27438904 zyh3838438zyh A May 30, 2017, 3:05 a.m. OK Python 2 TESTS 46 62 0 900
32228030 Nila1998 A Nov. 11, 2017, 6:34 p.m. OK Python 2 TESTS 46 62 102400 900
33052584 laoliumang A Dec. 9, 2017, 2:15 p.m. OK Python 2 TESTS 46 62 4608000 900
24356468 NikitaSemenov A Feb. 2, 2017, 12:08 a.m. OK Python 2 TESTS 46 62 4608000 900
23514236 Vvalter A Jan. 3, 2017, 10:12 a.m. OK Python 2 TESTS 46 62 4608000 900
30338517 cupertank A Sept. 14, 2017, 9:01 p.m. OK Python 3 TESTS 46 61 0 900
29267235 Abdelrahman_Radwan A Aug. 7, 2017, 2:43 p.m. OK Python 3 TESTS 46 61 4608000 900
29778441 xmq5513 A Aug. 25, 2017, 12:03 p.m. OK Python 3 TESTS 46 62 0 900
27759124 Nodir_Bobiev A June 13, 2017, 4:19 p.m. OK Python 3 TESTS 46 62 0 900
27474684 Christopher-Perkins A May 31, 2017, 9:51 p.m. OK Python 3 TESTS 46 62 0 900
27345485 jdh A May 25, 2017, 9:34 p.m. OK Python 3 TESTS 46 62 0 900
29093118 Qumeric A Aug. 1, 2017, 8:33 a.m. OK Python 3 TESTS 46 62 4608000 900
25704527 amiff A March 22, 2017, 6:17 a.m. OK Python 3 TESTS 46 62 4608000 900
25496111 baby_tape A March 15, 2017, 11:19 a.m. OK Python 3 TESTS 46 62 4608000 900
24095885 radmirnovii A Jan. 24, 2017, 4:57 p.m. OK Python 3 TESTS 46 62 4608000 900
26799731 vjudge5 A May 2, 2017, 9:56 a.m. OK Ruby TESTS 46 93 6451200 900
25703834 techaddict A March 22, 2017, 5:16 a.m. OK Scala TESTS 46 233 23347200 900
23794502 sbaldrich A Jan. 13, 2017, 10:08 p.m. OK Scala TESTS 46 265 23654400 900

remove filters

Back to search problems