Dytechlab Cup 2022

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
1737 Dytechlab Cup 2022 FINISHED False 9000 72026663 Oct. 7, 2022, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 5892 ) C Ela and Crickets PROGRAMMING games implementation math

B'Ela likes Chess a lot. During breaks, she usually challenges her co-worker in DTL to some chess games. She 's not an expert at classic chess, but she 's very interested in Chess variants, where she has to adapt to new rules and test her tactical mindset to win the game. The problem, which involves a non-standard chess pieces type that is described below, reads: given 3 white crickets on a n cdot n board, arranged in an "L" shape next to each other, there are no other pieces on the board. Ela wants to know with a finite number of moves, can she put any white cricket on the square on row x , column y ? An "L"-shape piece arrangement can only be one of the below: For simplicity, we describe the rules for crickets on the board where only three white crickets are. It can move horizontally, vertically, or diagonally, but only to a square in some direction that is immediately after another cricket piece (so that it must jump over it). If the square immediately behind the piece is unoccupied, the cricket will occupy the square. Otherwise (when the square is occupied by another cricket, or does not exist), the cricket isn 't allowed to make such a move. See an example of valid crickets ' moves on the pictures in the Note section. Each test contains multiple test cases. The first line contains the number of test cases t ( 1 <= t <= 10^4 ). The description of the test cases follows. The first line of each test case contains n ( 4 <= n <= 10^5 ) -- denotes the size of the chessboard. The second line of each test case contains 6 numbers: r_1 , c_1 , r_2 , c_2 , r_3 , c_3 ( 1 <= r_1, c_1, r_2, c_2, r_3, c_3 <= n ) -- coordinates of the crickets. The input ensures that the three crickets are arranged in an "L" shape that the legend stated. The third line of each test case contains 2 numbers: x , y ( 1 <= x, y <= n ) -- coordinates of the target square. For each test case, '...

Tutorials

Editorial of Dytechlab Cup 2022

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
175018905 LostTemple C Oct. 7, 2022, 4:26 p.m. OK C# 10 TESTS 22 108 3174400
175021345 Tdyx C Oct. 7, 2022, 4:35 p.m. OK C# 8 TESTS 22 124 3584000
175037626 Shayan.To C Oct. 7, 2022, 6:08 p.m. OK C# 8 TESTS 22 202 4915200
175038628 pradeepc C Oct. 7, 2022, 6:16 p.m. OK GNU C11 TESTS 22 62 0
175065930 xsdjg C Oct. 8, 2022, 3:01 a.m. OK GNU C++14 TESTS 23 15 921600
175017125 John_zyj C Oct. 7, 2022, 4:19 p.m. OK GNU C++14 TESTS 22 30 0
175068919 E-ray C Oct. 8, 2022, 4:06 a.m. OK GNU C++14 TESTS 23 31 0
175065585 zhangpangpang C Oct. 8, 2022, 2:53 a.m. OK GNU C++14 TESTS 23 31 0
175061857 Cu_OH_2 C Oct. 8, 2022, 1:10 a.m. OK GNU C++14 TESTS 23 31 0
175059933 moocpp C Oct. 8, 2022, 12:04 a.m. OK GNU C++14 TESTS 22 31 0
175059275 LIKE0314 C Oct. 7, 2022, 11:37 p.m. OK GNU C++14 TESTS 22 31 0
175057727 idoproblems C Oct. 7, 2022, 10:51 p.m. OK GNU C++14 TESTS 22 31 0
175048061 star_dust1 C Oct. 7, 2022, 7:53 p.m. OK GNU C++14 TESTS 22 31 0
175072010 Sparkle_7 C Oct. 8, 2022, 4:56 a.m. OK GNU C++14 TESTS 23 31 0
175015301 dsabolic C Oct. 7, 2022, 4:13 p.m. OK GNU C++17 TESTS 22 15 0
175074089 SwordSaint C Oct. 8, 2022, 5:23 a.m. OK GNU C++17 TESTS 23 31 0
175073935 newbie_1171 C Oct. 8, 2022, 5:21 a.m. OK GNU C++17 TESTS 23 31 0
175073420 pict1115 C Oct. 8, 2022, 5:14 a.m. OK GNU C++17 TESTS 23 31 0
175073195 A_d_i_t_y_a1 C Oct. 8, 2022, 5:11 a.m. OK GNU C++17 TESTS 23 31 0
175077041 Beginner343 C Oct. 8, 2022, 5:59 a.m. OK GNU C++17 TESTS 23 31 0
175069663 LeamuR C Oct. 8, 2022, 4:20 a.m. OK GNU C++17 TESTS 23 31 0
175069058 nianheng233 C Oct. 8, 2022, 4:09 a.m. OK GNU C++17 TESTS 23 31 0
175068517 Redemption_MS C Oct. 8, 2022, 3:58 a.m. OK GNU C++17 TESTS 23 31 0
175072218 whatcan1say C Oct. 8, 2022, 4:59 a.m. OK GNU C++17 TESTS 23 31 0
175019001 mlicul C Oct. 7, 2022, 4:26 p.m. OK GNU C++17 (64) TESTS 22 15 0
175031649 ozaid_15 C Oct. 7, 2022, 5:26 p.m. OK GNU C++17 (64) TESTS 22 15 0
175021678 ChairmanFMao C Oct. 7, 2022, 4:36 p.m. OK GNU C++17 (64) TESTS 22 15 0
175028477 nebulyu C Oct. 7, 2022, 5:02 p.m. OK GNU C++17 (64) TESTS 22 15 4198400
175062437 yxdddd C Oct. 8, 2022, 1:29 a.m. OK GNU C++17 (64) TESTS 23 30 0
175031839 importlogic C Oct. 7, 2022, 5:27 p.m. OK GNU C++17 (64) TESTS 22 30 0
175016275 OnlyAloner C Oct. 7, 2022, 4:16 p.m. OK GNU C++17 (64) TESTS 22 30 0
175026089 fr1234 C Oct. 7, 2022, 4:53 p.m. OK GNU C++17 (64) TESTS 22 30 0
175023330 dgupta0812 C Oct. 7, 2022, 4:43 p.m. OK GNU C++17 (64) TESTS 22 30 0
175028481 cheng1202 C Oct. 7, 2022, 5:02 p.m. OK GNU C++17 (64) TESTS 22 30 0
175032584 abc864197532 C Oct. 7, 2022, 5:32 p.m. OK GNU C++20 (64) TESTS 22 15 0
175031727 PraKash5 C Oct. 7, 2022, 5:27 p.m. OK GNU C++20 (64) TESTS 22 15 0
175026466 cosenza C Oct. 7, 2022, 4:55 p.m. OK GNU C++20 (64) TESTS 22 15 0
175035953 _BugSlayer_ C Oct. 7, 2022, 5:55 p.m. OK GNU C++20 (64) TESTS 22 15 0
175068727 Marslai24 C Oct. 8, 2022, 4:03 a.m. OK GNU C++20 (64) TESTS 23 15 0
175059407 NO__OB C Oct. 7, 2022, 11:42 p.m. OK GNU C++20 (64) TESTS 22 15 0
175053514 Ajam C Oct. 7, 2022, 9:09 p.m. OK GNU C++20 (64) TESTS 22 15 0
175052754 anshchaudhary025 C Oct. 7, 2022, 8:57 p.m. OK GNU C++20 (64) TESTS 22 15 0
175049638 Nami_Swaaan C Oct. 7, 2022, 8:13 p.m. OK GNU C++20 (64) TESTS 22 15 0
175035374 mysteri0us7 C Oct. 7, 2022, 5:51 p.m. OK GNU C++20 (64) TESTS 22 15 0
175019126 dunkingdonuts C Oct. 7, 2022, 4:27 p.m. OK Java 11 TESTS 22 187 0
175053563 themadknight45 C Oct. 7, 2022, 9:10 p.m. OK Java 11 TESTS 22 202 0
175027958 dark_rays C Oct. 7, 2022, 5 p.m. OK Java 11 TESTS 22 202 0
175022834 pushkar.lonkar21 C Oct. 7, 2022, 4:41 p.m. OK Java 11 TESTS 22 202 0
175017475 Longgggggggg C Oct. 7, 2022, 4:21 p.m. OK Java 11 TESTS 22 202 0
175065256 aditya2024 C Oct. 8, 2022, 2:46 a.m. OK Java 11 TESTS 23 218 0
175023462 Restricted C Oct. 7, 2022, 4:43 p.m. OK Java 11 TESTS 22 233 0
175021512 doomhammer. C Oct. 7, 2022, 4:36 p.m. OK Java 11 TESTS 22 233 0
175027602 dpsn743 C Oct. 7, 2022, 4:59 p.m. OK Java 11 TESTS 22 249 0
175015081 Yuki_B C Oct. 7, 2022, 4:12 p.m. OK Java 11 TESTS 22 280 0
175014774 freehandle C Oct. 7, 2022, 4:11 p.m. OK Java 17 TESTS 22 217 614400
175069405 irachit0702 C Oct. 8, 2022, 4:15 a.m. OK Java 17 TESTS 23 218 716800
175024125 LeetCodeforces_Null C Oct. 7, 2022, 4:46 p.m. OK Java 17 TESTS 22 249 614400
175017462 megaspazz C Oct. 7, 2022, 4:21 p.m. OK Java 8 TESTS 22 108 0
175051265 megaspazz C Oct. 7, 2022, 8:35 p.m. OK Java 8 TESTS 22 109 0
175051238 megaspazz C Oct. 7, 2022, 8:34 p.m. OK Java 8 TESTS 22 109 0
175065526 fyseus C Oct. 8, 2022, 2:52 a.m. OK Java 8 TESTS 23 124 0
175051719 Mohamed308 C Oct. 7, 2022, 8:42 p.m. OK Java 8 TESTS 22 124 0
175051687 GonFreecss2830 C Oct. 7, 2022, 8:41 p.m. OK Java 8 TESTS 22 124 0
175044415 vidwansAD C Oct. 7, 2022, 7:12 p.m. OK Java 8 TESTS 22 124 0
175015462 Termii C Oct. 7, 2022, 4:13 p.m. OK Java 8 TESTS 22 139 0
175021279 RonWonWon C Oct. 7, 2022, 4:35 p.m. OK Java 8 TESTS 22 140 0
175027624 z_zhaojun C Oct. 7, 2022, 4:59 p.m. OK Java 8 TESTS 22 155 0
175021841 AlgoTurtle C Oct. 7, 2022, 4:37 p.m. OK Mono C# TESTS 22 93 7065600
175021836 KKastaneda C Oct. 7, 2022, 4:37 p.m. OK MS C++ 2017 TESTS 22 109 0
175031477 valyanarezka C Oct. 7, 2022, 5:26 p.m. OK MS C++ 2017 TESTS 22 109 0
175024648 AlexFix C Oct. 7, 2022, 4:48 p.m. OK MS C++ 2017 TESTS 22 124 0
175062913 YMSeah C Oct. 8, 2022, 1:44 a.m. OK PyPy 3 TESTS 23 202 6860800
175046121 mnkp C Oct. 7, 2022, 7:31 p.m. OK PyPy 3 TESTS 22 249 10240000
175022154 MagicFrank C Oct. 7, 2022, 4:38 p.m. OK PyPy 3 TESTS 22 296 9932800
175046763 aneesh2002 C Oct. 7, 2022, 7:38 p.m. OK PyPy 3 TESTS 22 342 10444800
175045426 aneesh2002 C Oct. 7, 2022, 7:23 p.m. OK PyPy 3 TESTS 22 404 10342400
175046077 mnkp C Oct. 7, 2022, 7:31 p.m. OK PyPy 3 TESTS 22 545 9932800
175067018 arora.apoorv C Oct. 8, 2022, 3:26 a.m. OK PyPy 3 TESTS 23 561 9932800
175021000 tcltk C Oct. 7, 2022, 4:34 p.m. OK PyPy 3 TESTS 22 577 10752000
175045187 aneesh2002 C Oct. 7, 2022, 7:20 p.m. OK PyPy 3 TESTS 22 686 10444800
175031227 ikoma C Oct. 7, 2022, 5:25 p.m. OK PyPy 3-64 TESTS 22 186 9625600
175041324 biglunchdude C Oct. 7, 2022, 6:40 p.m. OK PyPy 3-64 TESTS 22 202 10854400
175024878 Anti-Neutrino C Oct. 7, 2022, 4:49 p.m. OK PyPy 3-64 TESTS 22 218 11776000
175033745 gsaunders C Oct. 7, 2022, 5:39 p.m. OK PyPy 3-64 TESTS 22 233 10240000
175027717 radoan.sharkar.richi C Oct. 7, 2022, 4:59 p.m. OK PyPy 3-64 TESTS 22 296 10752000
175028265 plevande C Oct. 7, 2022, 5:01 p.m. OK PyPy 3-64 TESTS 22 296 10854400
175018114 govindp47 C Oct. 7, 2022, 4:23 p.m. OK PyPy 3-64 TESTS 22 296 11161600
175024020 KA_Rma C Oct. 7, 2022, 4:45 p.m. OK PyPy 3-64 TESTS 22 311 10854400
175025388 sohamb17 C Oct. 7, 2022, 4:51 p.m. OK PyPy 3-64 TESTS 22 311 11161600
175062053 mikeac C Oct. 8, 2022, 1:16 a.m. OK PyPy 3-64 TESTS 23 311 11264000
175022009 sixthcore C Oct. 7, 2022, 4:38 p.m. OK Python 3 TESTS 22 124 921600
175016804 TristanC C Oct. 7, 2022, 4:18 p.m. OK Python 3 TESTS 22 171 0
175028513 Phantomblaze C Oct. 7, 2022, 5:02 p.m. OK Python 3 TESTS 22 186 0
175029233 tonyabraham115 C Oct. 7, 2022, 5:04 p.m. OK Python 3 TESTS 22 202 0
175024333 ikea_shark C Oct. 7, 2022, 4:47 p.m. OK Python 3 TESTS 22 202 0
175020340 coderbd C Oct. 7, 2022, 4:31 p.m. OK Python 3 TESTS 22 202 0
175034401 shreyas.pande2003 C Oct. 7, 2022, 5:43 p.m. OK Python 3 TESTS 22 218 0
175027542 prathamnagaria C Oct. 7, 2022, 4:59 p.m. OK Python 3 TESTS 22 218 0
175018095 happy_zig_user C Oct. 7, 2022, 4:23 p.m. OK Python 3 TESTS 22 218 0
175067707 dee2018 C Oct. 8, 2022, 3:41 a.m. OK Python 3 TESTS 23 218 102400
175033193 bqn C Oct. 7, 2022, 5:35 p.m. OK Rust 2021 TESTS 22 109 0

remove filters

Back to search problems