Technocup 2019 - Elimination Round 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
1030 Technocup 2019 - Elimination Round 1 FINISHED False 7200 194115299 Sept. 23, 2018, 1:05 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 12390 ) B Vasya and Cornfield PROGRAMMING geometry 1100

B'Vasya owns a cornfield which can be defined with two integers n and d . The cornfield can be represented as rectangle with vertices having Cartesian coordinates (0, d), (d, 0), (n, n - d) and (n - d, n) . Vasya also knows that there are m grasshoppers near the field (maybe even inside it). The i -th grasshopper is at the point (x_i, y_i) . Vasya does not like when grasshoppers eat his corn, so for each grasshopper he wants to know whether its position is inside the cornfield (including the border) or outside. Help Vasya! For each grasshopper determine if it is inside the field (including the border). The first line contains two integers n and d ( 1 <= d < n <= 100 ). The second line contains a single integer m ( 1 <= m <= 100 ) -- the number of grasshoppers. The i -th of the next m lines contains two integers x_i and y_i ( 0 <= x_i, y_i <= n ) -- position of the i -th grasshopper. Print m lines. The i -th line should contain "YES" if the position of the i -th grasshopper lies inside or on the border of the cornfield. Otherwise the i -th line should contain "NO". You can print each letter in any case (upper or lower). The cornfield from the first example is pictured above. Grasshoppers with indices 1 (coordinates (2, 4) ) and 4 (coordinates (4, 5) ) are inside the cornfield. The cornfield from the second example is pictured below. Grasshoppers with indices 1 (coordinates (4, 4) ), 3 (coordinates (8, 1) ) and 4 (coordinates (6, 1) ) are inside the cornfield. '...

Tutorials

Сodeforces Round 512 (and Technocup — Elimination Round 1) Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
69816002 vjudge4 B Jan. 30, 2020, 6:10 a.m. OK Clang++17 Diagnostics TESTS 52 46 0 1100
49880247 mohtasimhadi B Feb. 13, 2019, 5:49 p.m. OK Clang++17 Diagnostics TESTS 52 46 0 1100
49780360 smit.mangukiya B Feb. 11, 2019, 5:17 p.m. OK Clang++17 Diagnostics TESTS 52 46 0 1100
43994859 bovenson B Oct. 8, 2018, 11 a.m. OK Clang++17 Diagnostics TESTS 52 46 0 1100
43324869 Drowner B Sept. 23, 2018, 2:25 p.m. OK Delphi TESTS 52 31 102400 1100
45985235 ilya_kas B Nov. 20, 2018, 5:58 a.m. OK FPC TESTS 52 31 0 1100
45800152 nasway B Nov. 16, 2018, 12:54 p.m. OK FPC TESTS 52 31 0 1100
43623028 Kael007 B Sept. 30, 2018, 8:19 p.m. OK FPC TESTS 52 31 0 1100
43497178 Bear.-. B Sept. 27, 2018, 3:17 p.m. OK FPC TESTS 52 31 0 1100
43398680 _Time_Lord_ B Sept. 25, 2018, 7:12 a.m. OK FPC TESTS 52 31 0 1100
43334296 Ilkas32 B Sept. 23, 2018, 3 p.m. OK FPC TESTS 52 31 0 1100
43328076 ilion1090 B Sept. 23, 2018, 2:38 p.m. OK FPC TESTS 52 31 0 1100
43327931 TieBeTie B Sept. 23, 2018, 2:37 p.m. OK FPC TESTS 52 31 0 1100
43323925 PavelPavlovich B Sept. 23, 2018, 2:22 p.m. OK FPC TESTS 52 31 0 1100
43323701 timq000 B Sept. 23, 2018, 2:21 p.m. OK FPC TESTS 52 31 0 1100
46285128 NoSoul B Nov. 27, 2018, 3:41 p.m. OK GNU C11 TESTS 52 30 0 1100
65502833 DevJewel B Nov. 21, 2019, 8 p.m. OK GNU C11 TESTS 52 31 0 1100
58888980 zelly B Aug. 16, 2019, 4:13 a.m. OK GNU C11 TESTS 52 31 0 1100
59134189 qhung312 B Aug. 20, 2019, 12:05 p.m. OK GNU C11 TESTS 52 31 0 1100
61081062 MDCHARW B Sept. 22, 2019, 4:23 p.m. OK GNU C11 TESTS 52 31 0 1100
61178365 ratul_supertramp B Sept. 23, 2019, 6:58 p.m. OK GNU C11 TESTS 52 31 0 1100
64061576 sailikhith9490 B Nov. 2, 2019, 4:06 a.m. OK GNU C11 TESTS 52 31 0 1100
64332454 KhalilSRIDI B Nov. 5, 2019, 7:58 p.m. OK GNU C11 TESTS 52 31 0 1100
64336253 Zmonka B Nov. 5, 2019, 10:03 p.m. OK GNU C11 TESTS 52 31 0 1100
65023822 Shakib_SRK B Nov. 15, 2019, 6:39 a.m. OK GNU C11 TESTS 52 31 0 1100
47970138 Dilute B Jan. 5, 2019, 2:13 p.m. OK GNU C++11 TESTS 52 30 0 1100
46349011 vjudge2 B Nov. 28, 2018, 8 p.m. OK GNU C++11 TESTS 52 30 0 1100
48082936 hypomaniac B Jan. 8, 2019, 9:14 a.m. OK GNU C++11 TESTS 52 30 0 1100
52062362 vjudge4 B March 31, 2019, 2:30 a.m. OK GNU C++11 TESTS 52 30 0 1100
69813954 vjudge2 B Jan. 30, 2020, 5:28 a.m. OK GNU C++11 TESTS 52 31 0 1100
69820206 vjudge2 B Jan. 30, 2020, 7:31 a.m. OK GNU C++11 TESTS 52 31 0 1100
69814497 vjudge2 B Jan. 30, 2020, 5:40 a.m. OK GNU C++11 TESTS 52 31 0 1100
69823498 Andreiu B Jan. 30, 2020, 8:34 a.m. OK GNU C++11 TESTS 52 31 0 1100
69822938 theo2003 B Jan. 30, 2020, 8:25 a.m. OK GNU C++11 TESTS 52 31 0 1100
69821074 vjudge3 B Jan. 30, 2020, 7:52 a.m. OK GNU C++11 TESTS 52 31 0 1100
43382393 yongwhan B Sept. 24, 2018, 6:39 p.m. OK GNU C++14 TESTS 52 15 0 1100
48080646 ngocle2001 B Jan. 8, 2019, 7:33 a.m. OK GNU C++14 TESTS 52 15 0 1100
43564241 jarakcyc B Sept. 29, 2018, 10:28 a.m. OK GNU C++14 TESTS 52 15 307200 1100
69885412 Stefan_Piscu B Jan. 31, 2020, 8:01 a.m. OK GNU C++14 TESTS 52 30 0 1100
54892180 elabensaad B May 31, 2019, 9:25 p.m. OK GNU C++14 TESTS 52 30 0 1100
69053533 kinder B Jan. 18, 2020, 1:35 p.m. OK GNU C++14 TESTS 52 30 0 1100
68073249 Heisenberg_333 B Jan. 2, 2020, 11:20 a.m. OK GNU C++14 TESTS 52 30 0 1100
61842934 jacob_amv B Oct. 4, 2019, 10:21 a.m. OK GNU C++14 TESTS 52 30 0 1100
57962018 the_compiler B July 29, 2019, 11:55 p.m. OK GNU C++14 TESTS 52 30 0 1100
57331878 Larten B July 19, 2019, 2:31 p.m. OK GNU C++14 TESTS 52 30 0 1100
62574072 OrlandoIsay B Oct. 14, 2019, 3:21 p.m. OK GNU C++17 TESTS 52 15 0 1100
47660548 syzymon B Dec. 28, 2018, 6:45 p.m. OK GNU C++17 TESTS 52 15 0 1100
67997057 Ormlis B Dec. 31, 2019, 8:46 a.m. OK GNU C++17 TESTS 52 15 0 1100
45502411 KobeDuu_ B Nov. 10, 2018, 8:25 a.m. OK GNU C++17 TESTS 52 15 204800 1100
44286846 vjudge5 B Oct. 14, 2018, 7:54 a.m. OK GNU C++17 TESTS 52 15 307200 1100
61443670 dngrigoryev B Sept. 28, 2019, 7:56 p.m. OK GNU C++17 TESTS 52 30 0 1100
64475654 durgesh30508 B Nov. 7, 2019, 2:18 p.m. OK GNU C++17 TESTS 52 30 0 1100
68994849 Falla7 B Jan. 17, 2020, 4:59 p.m. OK GNU C++17 TESTS 52 30 0 1100
63349864 DarisHS B Oct. 24, 2019, 9:08 p.m. OK GNU C++17 TESTS 52 30 0 1100
60731326 mahmoud.manfy159 B Sept. 17, 2019, 3:48 p.m. OK GNU C++17 TESTS 52 30 0 1100
66492261 potatmen B Dec. 8, 2019, 8:59 a.m. OK Java 11 TESTS 52 187 0 1100
69171304 saurabhs1206 B Jan. 20, 2020, 6:16 a.m. OK Java 8 TESTS 52 109 0 1100
52777871 yorky B April 15, 2019, 12:51 p.m. OK Java 8 TESTS 52 109 0 1100
52340539 CharlesDai B April 5, 2019, 10:16 a.m. OK Java 8 TESTS 52 109 0 1100
47291078 Sarica B Dec. 20, 2018, 9:15 a.m. OK Java 8 TESTS 52 109 0 1100
47257303 Ananas22 B Dec. 19, 2018, 10:57 a.m. OK Java 8 TESTS 52 109 0 1100
46423051 vjudge5 B Dec. 1, 2018, 12:07 a.m. OK Java 8 TESTS 52 109 0 1100
65320676 cyberAce B Nov. 18, 2019, 7:35 p.m. OK Java 8 TESTS 52 124 0 1100
62587171 mikhaylov_boris B Oct. 14, 2019, 7:20 p.m. OK Java 8 TESTS 52 124 0 1100
61413067 deepak4669 B Sept. 28, 2019, 9:21 a.m. OK Java 8 TESTS 52 124 0 1100
60551559 sart2010 B Sept. 14, 2019, 2:03 p.m. OK Java 8 TESTS 52 124 0 1100
53723674 Sai7 B May 4, 2019, 2:23 a.m. OK JavaScript TESTS 52 46 0 1100
50510014 georgy.ivanov B Feb. 25, 2019, 10:57 p.m. OK Kotlin TESTS 52 140 0 1100
61671893 Dsvag B Oct. 1, 2019, 7:01 p.m. OK Kotlin TESTS 52 171 102400 1100
43704557 raynald B Oct. 2, 2018, 8:37 p.m. OK Kotlin TESTS 52 171 102400 1100
49965037 treasuryonly B Feb. 15, 2019, 8:13 p.m. OK Mono C# TESTS 52 46 0 1100
43810648 Prog_Ahmed_Magdy B Oct. 5, 2018, 12:05 a.m. OK Mono C# TESTS 52 46 0 1100
55599650 m1_k3 B June 15, 2019, 5:24 p.m. OK Mono C# TESTS 52 61 0 1100
54492370 og.kostya B May 22, 2019, 4:01 p.m. OK Mono C# TESTS 52 61 0 1100
54397827 aBoyWantsToCode B May 19, 2019, 10:13 p.m. OK Mono C# TESTS 52 61 0 1100
44017626 nemars B Oct. 8, 2018, 11:24 p.m. OK Mono C# TESTS 52 61 0 1100
43417758 Ruban_Denic B Sept. 25, 2018, 4:20 p.m. OK Mono C# TESTS 52 61 0 1100
43542491 W0lfEnstein B Sept. 28, 2018, 5:45 p.m. OK Mono C# TESTS 52 62 0 1100
43691614 Nzm B Oct. 2, 2018, 2:34 p.m. OK Mono C# TESTS 52 62 0 1100
54394754 aBoyWantsToCode B May 19, 2019, 7:05 p.m. OK Mono C# TESTS 52 62 0 1100
69813802 vjudge5 B Jan. 30, 2020, 5:24 a.m. OK MS C++ TESTS 52 31 0 1100
69813781 vjudge1 B Jan. 30, 2020, 5:24 a.m. OK MS C++ TESTS 52 31 0 1100
69813572 vjudge1 B Jan. 30, 2020, 5:20 a.m. OK MS C++ TESTS 52 31 0 1100
69818158 vjudge4 B Jan. 30, 2020, 6:50 a.m. OK MS C++ TESTS 52 31 0 1100
69818781 vjudge4 B Jan. 30, 2020, 7:02 a.m. OK MS C++ TESTS 52 31 0 1100
69820882 vjudge3 B Jan. 30, 2020, 7:48 a.m. OK MS C++ TESTS 52 31 0 1100
69813987 vjudge4 B Jan. 30, 2020, 5:29 a.m. OK MS C++ TESTS 52 31 0 1100
69813990 vjudge2 B Jan. 30, 2020, 5:29 a.m. OK MS C++ TESTS 52 31 0 1100
69814682 vjudge4 B Jan. 30, 2020, 5:44 a.m. OK MS C++ TESTS 52 31 0 1100
69814852 vjudge1 B Jan. 30, 2020, 5:47 a.m. OK MS C++ TESTS 52 31 0 1100
69817925 vjudge3 B Jan. 30, 2020, 6:46 a.m. OK MS C++ 2017 TESTS 52 31 0 1100
62332061 timur_danilchenko B Oct. 10, 2019, 9:23 p.m. OK MS C++ 2017 TESTS 52 31 0 1100
66296759 yerzh B Dec. 5, 2019, 4:53 a.m. OK MS C++ 2017 TESTS 52 31 0 1100
61862156 artyemlavrov398160 B Oct. 4, 2019, 3:37 p.m. OK MS C++ 2017 TESTS 52 31 0 1100
50734367 sergay228 B March 3, 2019, 12:16 p.m. OK MS C++ 2017 TESTS 52 31 0 1100
56697854 bourosh B July 8, 2019, 7:50 a.m. OK MS C++ 2017 TESTS 52 31 0 1100
57845579 _Ani B July 27, 2019, 11 a.m. OK MS C++ 2017 TESTS 52 31 0 1100
69814058 vjudge3 B Jan. 30, 2020, 5:30 a.m. OK MS C++ 2017 TESTS 52 31 0 1100
69814357 vjudge1 B Jan. 30, 2020, 5:37 a.m. OK MS C++ 2017 TESTS 52 31 0 1100
69819480 vjudge3 B Jan. 30, 2020, 7:16 a.m. OK MS C++ 2017 TESTS 52 31 307200 1100
44534220 MindUrm B Oct. 19, 2018, 8:07 a.m. OK PascalABC.NET TESTS 52 46 102400 1100
43327780 MironovIM B Sept. 23, 2018, 2:37 p.m. OK PascalABC.NET TESTS 52 46 102400 1100
43938484 DenBol B Oct. 7, 2018, 10:13 a.m. OK PascalABC.NET TESTS 52 46 102400 1100
43333988 Makodor B Sept. 23, 2018, 2:59 p.m. OK PascalABC.NET TESTS 52 46 204800 1100
43328031 mironovdanek B Sept. 23, 2018, 2:38 p.m. OK PascalABC.NET TESTS 52 46 204800 1100
43324757 Volodik14 B Sept. 23, 2018, 2:25 p.m. OK PascalABC.NET TESTS 52 46 204800 1100
43332076 69MK69 B Sept. 23, 2018, 2:53 p.m. OK PascalABC.NET TESTS 52 61 102400 1100
43341991 orunbaew B Sept. 23, 2018, 6:11 p.m. OK PascalABC.NET TESTS 52 61 102400 1100
44663676 Mr_Doctor B Oct. 21, 2018, 4:37 p.m. OK PascalABC.NET TESTS 52 61 102400 1100
44741597 Mr_Doctor B Oct. 23, 2018, 2:55 p.m. OK PascalABC.NET TESTS 52 61 102400 1100
43560325 mayakin B Sept. 29, 2018, 8:38 a.m. OK PHP TESTS 52 61 0 1100
43341960 mayakin B Sept. 23, 2018, 6:10 p.m. OK PHP TESTS 52 61 409600 1100
43558554 Mr.Inconsistent B Sept. 29, 2018, 7:37 a.m. OK PyPy 2 TESTS 52 140 0 1100
43516698 nealzane B Sept. 28, 2018, 5:26 a.m. OK PyPy 2 TESTS 52 140 0 1100
43371311 kd710306 B Sept. 24, 2018, 2:38 p.m. OK PyPy 2 TESTS 52 140 0 1100
43703859 mdippel B Oct. 2, 2018, 8:11 p.m. OK PyPy 2 TESTS 52 155 0 1100
55114910 Aidos B June 5, 2019, 8:12 a.m. OK PyPy 3 TESTS 52 140 0 1100
51231643 satt18 B March 12, 2019, 4:33 p.m. OK PyPy 3 TESTS 52 140 0 1100
50690086 rzhikharevich B March 2, 2019, 3:16 p.m. OK PyPy 3 TESTS 52 140 0 1100
49684599 SarveshDubey B Feb. 10, 2019, 6:11 a.m. OK PyPy 3 TESTS 52 140 0 1100
44613130 elzaralian B Oct. 20, 2018, 9:34 p.m. OK PyPy 3 TESTS 52 140 0 1100
61934024 h4zzkR B Oct. 5, 2019, 5:12 p.m. OK PyPy 3 TESTS 52 140 102400 1100
61913789 Vaapler B Oct. 5, 2019, 11:34 a.m. OK PyPy 3 TESTS 52 140 102400 1100
45053706 zvv B Oct. 29, 2018, 11:49 a.m. OK PyPy 3 TESTS 52 140 102400 1100
46509705 Skybytskyi.Nikita B Dec. 2, 2018, 12:43 p.m. OK PyPy 3 TESTS 52 140 204800 1100
68611495 beethoven97 B Jan. 11, 2020, 3:52 p.m. OK PyPy 3 TESTS 52 155 0 1100
54456728 soumyasarkar1998 B May 21, 2019, 4:17 p.m. OK Python 2 TESTS 52 171 0 1100
47377778 Nure B Dec. 22, 2018, 6:33 p.m. OK Python 2 TESTS 52 171 0 1100
46351471 fanzhang B Nov. 28, 2018, 10:16 p.m. OK Python 2 TESTS 52 171 0 1100
43558515 Mr.Inconsistent B Sept. 29, 2018, 7:36 a.m. OK Python 2 TESTS 52 171 0 1100
43439015 Gungga B Sept. 26, 2018, 7:48 a.m. OK Python 2 TESTS 52 171 0 1100
43483956 franckmy B Sept. 27, 2018, 9 a.m. OK Python 2 TESTS 52 186 0 1100
43453914 tnowakow B Sept. 26, 2018, 2:13 p.m. OK Python 2 TESTS 52 186 0 1100
43337664 dalex B Sept. 23, 2018, 4:37 p.m. OK Python 2 TESTS 52 187 0 1100
44619956 baska B Oct. 21, 2018, 5:39 a.m. OK Python 2 TESTS 52 187 0 1100
43357820 ruchit2801 B Sept. 24, 2018, 7:27 a.m. OK Python 2 TESTS 52 202 0 1100
61800142 Driver12 B Oct. 3, 2019, 6:39 p.m. OK Python 3 TESTS 52 109 0 1100
61574342 essi B Sept. 30, 2019, 7:58 p.m. OK Python 3 TESTS 52 109 0 1100
61113279 hjq000 B Sept. 23, 2019, 12:02 p.m. OK Python 3 TESTS 52 109 0 1100
60861997 vjudge1 B Sept. 19, 2019, 2:57 p.m. OK Python 3 TESTS 52 109 0 1100
58417694 ivancher B Aug. 7, 2019, 6:06 a.m. OK Python 3 TESTS 52 109 0 1100
58335406 bergus B Aug. 5, 2019, 11:17 a.m. OK Python 3 TESTS 52 109 0 1100
57892051 ArsMFad B July 28, 2019, 12:11 p.m. OK Python 3 TESTS 52 109 0 1100
67425185 abhivick07 B Dec. 22, 2019, 1:10 p.m. OK Python 3 TESTS 52 109 0 1100
64174879 herelitick B Nov. 3, 2019, 8:17 p.m. OK Python 3 TESTS 52 109 0 1100
55116970 koptev B June 5, 2019, 9:06 a.m. OK Python 3 TESTS 52 109 0 1100
43392602 niquefa_diego B Sept. 25, 2018, 2:37 a.m. OK Ruby TESTS 52 62 0 1100
43669072 kokorins B Oct. 2, 2018, 2:57 a.m. OK Scala TESTS 52 545 0 1100

remove filters

Back to search problems