Educational Codeforces Round 7

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
622 Educational Codeforces Round 7 FINISHED False 7200 282495604 Feb. 10, 2016, 3 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 6819 ) C Not Equal on a Segment PROGRAMMING data structures implementation 1700

B'You are given array a with n integers and m queries. The i-th query is given with three integers li, xe2 x80 x89ri, xe2 x80 x89xi. For the i-th query find any position pi (li xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89pi xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89ri) so that api xe2 x80 x89 xe2 x89 xa0 xe2 x80 x89xi. The first line contains two integers n, xe2 x80 x89m (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n, xe2 x80 x89m xe2 x80 x89 xe2 x89 xa4 xe2 x80 x892 xc2 xb7105) -- the number of elements in a and the number of queries. The second line contains n integers ai (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89ai xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89106) -- the elements of the array a. Each of the next m lines contains three integers li, xe2 x80 x89ri, xe2 x80 x89xi (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89li xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89ri xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n, xe2 x80 x891 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89xi xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89106) -- the parameters of the i-th query. Print m lines. On the i-th line print integer pi -- the position of any number not equal to xi in segment [li, xe2 x80 x89ri] or the value xe2 x80 x89- xe2 x80 x891 if there is no such number.'...

Tutorials

Editorial of Educational Codeforces Round 7

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
15947241 gorbunov C Feb. 10, 2016, 7:56 p.m. OK D TESTS 63 592 42393600 1700
15940660 PAG C Feb. 10, 2016, 4:24 p.m. OK Delphi TESTS 63 155 1638400 1700
15975640 irevt C Feb. 12, 2016, 5:39 p.m. OK Delphi TESTS 63 155 7987200 1700
15941952 kulpet345 C Feb. 10, 2016, 4:40 p.m. OK Delphi TESTS 63 171 10035200 1700
15934420 zhaoxinyi C Feb. 10, 2016, 3:25 p.m. OK FPC TESTS 63 452 1638400 1700
16029147 glscale C Feb. 15, 2016, 8:27 a.m. OK FPC TESTS 63 467 1638400 1700
15937850 DataCorrupted C Feb. 10, 2016, 3:54 p.m. OK FPC TESTS 63 467 1638400 1700
15938467 Shadowest C Feb. 10, 2016, 4 p.m. OK FPC TESTS 63 468 1638400 1700
16069210 senich C Feb. 17, 2016, 10:46 a.m. OK FPC TESTS 63 483 1638400 1700
16044136 Jicote C Feb. 16, 2016, 2:26 a.m. OK FPC TESTS 63 483 1638400 1700
15965742 tieuchanlong C Feb. 12, 2016, 3:02 a.m. OK FPC TESTS 63 483 1638400 1700
15953195 Husayn_Hasanov C Feb. 11, 2016, 9:10 a.m. OK FPC TESTS 63 483 1638400 1700
15949627 Husayn_Hasanov C Feb. 11, 2016, 2:59 a.m. OK FPC TESTS 63 483 1638400 1700
15944046 ArGuTe C Feb. 10, 2016, 5:12 p.m. OK FPC TESTS 63 483 1638400 1700
29565004 MarcosK C Aug. 18, 2017, 3:29 p.m. OK GNU C TESTS 63 171 1638400 1700
16444317 nateriver C March 1, 2016, 3:18 p.m. OK GNU C TESTS 63 171 1638400 1700
15982125 cty002718 C Feb. 13, 2016, 5:58 a.m. OK GNU C TESTS 63 171 1638400 1700
15971422 yougaindra C Feb. 12, 2016, 1:33 p.m. OK GNU C TESTS 63 171 1638400 1700
24677729 rainboy C Feb. 14, 2017, 5:51 p.m. OK GNU C TESTS 63 171 3481600 1700
21167165 filani C Oct. 3, 2016, 4:28 p.m. OK GNU C TESTS 63 171 3993600 1700
17763474 kostantinaras C May 6, 2016, 2:37 p.m. OK GNU C TESTS 63 171 10035200 1700
15942922 MisterretsiM C Feb. 10, 2016, 4:52 p.m. OK GNU C TESTS 63 186 1638400 1700
15955467 viralm C Feb. 11, 2016, 12:10 p.m. OK GNU C TESTS 63 187 1638400 1700
23535040 abhi_learner C Jan. 4, 2017, 12:14 p.m. OK GNU C TESTS 63 187 3481600 1700
16027369 MosharrafOshy C Feb. 15, 2016, 5:28 a.m. OK GNU C++ TESTS 63 78 1638400 1700
15968288 code.blood C Feb. 12, 2016, 9:09 a.m. OK GNU C++ TESTS 63 78 1638400 1700
15950604 LSY_is_retired C Feb. 11, 2016, 5:18 a.m. OK GNU C++ TESTS 63 78 1638400 1700
15941330 hackssssss C Feb. 10, 2016, 4:32 p.m. OK GNU C++ TESTS 63 78 1638400 1700
16646864 unknown_shadow C March 11, 2016, 11:04 a.m. OK GNU C++ TESTS 63 93 1433600 1700
15979199 Samesi C Feb. 12, 2016, 10:31 p.m. OK GNU C++ TESTS 63 93 1638400 1700
15946268 mouryou C Feb. 10, 2016, 6:52 p.m. OK GNU C++ TESTS 63 93 1638400 1700
15933578 lcr C Feb. 10, 2016, 3:19 p.m. OK GNU C++ TESTS 63 93 1638400 1700
15937668 Created_equal C Feb. 10, 2016, 3:52 p.m. OK GNU C++ TESTS 63 93 2457600 1700
16057321 spk C Feb. 16, 2016, 2:20 p.m. OK GNU C++ TESTS 63 108 1638400 1700
15943471 merolish C Feb. 10, 2016, 4:58 p.m. OK GNU C11 TESTS 63 873 1638400 1700
15976019 zihaozhu C Feb. 12, 2016, 6:04 p.m. OK GNU C11 TESTS 63 951 1638400 1700
37503612 LudwigVanBeethoven C April 21, 2018, 5:20 a.m. OK GNU C11 TESTS 63 966 5222400 1700
15938539 sincerelyyin C Feb. 10, 2016, 4:01 p.m. OK GNU C11 TESTS 63 982 1638400 1700
16053908 sid02 C Feb. 16, 2016, 10:19 a.m. OK GNU C11 TESTS 63 982 1740800 1700
15943089 merolish C Feb. 10, 2016, 4:54 p.m. OK GNU C11 TESTS 63 997 1638400 1700
43233918 gchak17 C Sept. 22, 2018, 7:15 a.m. OK GNU C11 TESTS 63 998 1638400 1700
17035919 Dalisyron C March 30, 2016, 2:39 p.m. OK GNU C++11 TESTS 63 46 1638400 1700
17032286 Unchang_star C March 30, 2016, 11:08 a.m. OK GNU C++11 TESTS 63 46 3788800 1700
16986110 FalseMirror C March 28, 2016, 11:49 a.m. OK GNU C++11 TESTS 63 46 3788800 1700
17035959 Dalisyron C March 30, 2016, 2:41 p.m. OK GNU C++11 TESTS 63 61 1638400 1700
15948147 dhawalupadhyay C Feb. 10, 2016, 9:10 p.m. OK GNU C++11 TESTS 63 61 1638400 1700
44072792 Umi C Oct. 10, 2018, 12:09 p.m. OK GNU C++11 TESTS 63 62 1638400 1700
17161797 FalseMirror C April 4, 2016, 5:36 p.m. OK GNU C++11 TESTS 63 62 3686400 1700
23374862 0verrider C Dec. 28, 2016, 9:56 a.m. OK GNU C++11 TESTS 63 62 3686400 1700
62930734 Dancepted C Oct. 19, 2019, 12:38 p.m. OK GNU C++11 TESTS 63 77 1638400 1700
40985249 ReaLNero1 C July 30, 2018, 7:50 p.m. OK GNU C++11 TESTS 63 77 1638400 1700
48781608 vjudge4 C Jan. 23, 2019, 7:03 a.m. OK GNU C++14 TESTS 63 156 1638400 1700
30276385 NiroBC C Sept. 12, 2017, 1:17 a.m. OK GNU C++14 TESTS 63 186 1536000 1700
58268311 armand C Aug. 4, 2019, 3:40 p.m. OK GNU C++14 TESTS 63 187 1638400 1700
62659519 _XXXTENTACION C Oct. 16, 2019, 4:43 a.m. OK GNU C++14 TESTS 63 187 1638400 1700
48283221 vjudge2 C Jan. 12, 2019, 8:57 a.m. OK GNU C++14 TESTS 63 187 16076800 1700
45463294 greenblade C Nov. 9, 2018, 3:20 a.m. OK GNU C++14 TESTS 63 202 1536000 1700
57289502 oskarl C July 18, 2019, 4:02 p.m. OK GNU C++14 TESTS 63 202 1638400 1700
56711927 utsumi C July 8, 2019, 1:02 p.m. OK GNU C++14 TESTS 63 202 1638400 1700
54089924 IsaacMoris C May 14, 2019, 10:13 a.m. OK GNU C++14 TESTS 63 202 1638400 1700
57289525 oskarl C July 18, 2019, 4:02 p.m. OK GNU C++14 TESTS 63 202 1638400 1700
69079237 vjudge2 C Jan. 19, 2020, 5:32 a.m. OK GNU C++17 TESTS 63 156 7987200 1700
56464211 llt123456 C July 3, 2019, 8:11 a.m. OK GNU C++17 TESTS 63 171 1638400 1700
56463936 llt123456 C July 3, 2019, 8:03 a.m. OK GNU C++17 TESTS 63 171 1638400 1700
48781592 pxlsdz C Jan. 23, 2019, 7:03 a.m. OK GNU C++17 TESTS 63 171 1843200 1700
44660729 aioverflow C Oct. 21, 2018, 3:04 p.m. OK GNU C++17 TESTS 63 171 1843200 1700
51912636 Vaske01 C March 27, 2019, 7:05 p.m. OK GNU C++17 TESTS 63 171 2457600 1700
48298369 vjudge2 C Jan. 12, 2019, 3:37 p.m. OK GNU C++17 TESTS 63 202 1536000 1700
69401438 ruo C Jan. 23, 2020, 9:03 a.m. OK GNU C++17 TESTS 63 202 1638400 1700
67064494 Running_on_test_1 C Dec. 17, 2019, 10:33 a.m. OK GNU C++17 TESTS 63 202 1638400 1700
65250275 vjudge4 C Nov. 17, 2019, 11:48 a.m. OK GNU C++17 TESTS 63 202 1638400 1700
16270600 binhuq C Feb. 22, 2016, 3:46 a.m. OK Go TESTS 63 280 19353600 1700
15970619 Eeyore C Feb. 12, 2016, 12:32 p.m. OK Go TESTS 63 546 30412800 1700
15939676 9mmlitswe C Feb. 10, 2016, 4:13 p.m. OK Haskell TESTS 63 405 42188800 1700
16208938 -Wave- C Feb. 19, 2016, 4:11 p.m. OK Haskell TESTS 63 421 49254400 1700
16209169 -Wave- C Feb. 19, 2016, 4:15 p.m. OK Haskell TESTS 63 436 68198400 1700
16209512 -Wave- C Feb. 19, 2016, 4:20 p.m. OK Haskell TESTS 63 452 55808000 1700
19923083 pavel.rosputko C Aug. 17, 2016, 8:49 a.m. OK Haskell TESTS 63 592 138547200 1700
65593520 ankyy_0103 C Nov. 23, 2019, 2:59 p.m. OK Java 11 TESTS 63 358 0 1700
64282958 davisrollman C Nov. 5, 2019, 3:08 a.m. OK Java 11 TESTS 63 358 0 1700
15940396 smalex69 C Feb. 10, 2016, 4:21 p.m. OK Java 7 TESTS 63 171 0 1700
16708182 yrjie C March 14, 2016, 5:31 a.m. OK Java 7 TESTS 63 186 0 1700
15960851 Juniorandrade C Feb. 11, 2016, 5:26 p.m. OK Java 7 TESTS 63 186 0 1700
15969056 Code.coding C Feb. 12, 2016, 10:06 a.m. OK Java 7 TESTS 63 233 0 1700
16024812 Nemo_007 C Feb. 14, 2016, 10:15 p.m. OK Java 7 TESTS 63 265 2662400 1700
15951187 marcose18 C Feb. 11, 2016, 6:21 a.m. OK Java 7 TESTS 63 280 307200 1700
16024859 Nemo_007 C Feb. 14, 2016, 10:21 p.m. OK Java 7 TESTS 63 295 2662400 1700
15938942 amtematem C Feb. 10, 2016, 4:05 p.m. OK Java 7 TESTS 63 296 2662400 1700
16259940 m.khooryani C Feb. 21, 2016, 1:53 p.m. OK Java 7 TESTS 63 296 2764800 1700
15965721 mIchanic C Feb. 12, 2016, 2:57 a.m. OK Java 7 TESTS 63 296 2764800 1700
15962579 RAMBO_tejasv C Feb. 11, 2016, 7:06 p.m. OK Java 8 TESTS 63 186 0 1700
15931794 uwi C Feb. 10, 2016, 3:08 p.m. OK Java 8 TESTS 63 186 0 1700
42307241 sooraj10 C Aug. 31, 2018, 12:06 p.m. OK Java 8 TESTS 63 187 0 1700
15961703 DaisyCQ C Feb. 11, 2016, 6:15 p.m. OK Java 8 TESTS 63 187 0 1700
15944216 meashish C Feb. 10, 2016, 5:16 p.m. OK Java 8 TESTS 63 187 0 1700
22831914 da_201501181 C Dec. 9, 2016, 11:23 a.m. OK Java 8 TESTS 63 202 0 1700
15951371 poikniok C Feb. 11, 2016, 6:38 a.m. OK Java 8 TESTS 63 202 0 1700
40210675 prabhat236218 C July 11, 2018, 7:12 p.m. OK Java 8 TESTS 63 217 42496000 1700
21636266 U_Square C Oct. 21, 2016, 8:18 a.m. OK Java 8 TESTS 63 218 0 1700
35964301 Tarun C March 5, 2018, 12:05 p.m. OK Java 8 TESTS 63 218 20787200 1700
16418857 bluered C Feb. 28, 2016, 11:53 p.m. OK JavaScript TESTS 63 420 40857600 1700
16418797 bluered C Feb. 28, 2016, 11:45 p.m. OK JavaScript TESTS 63 420 40857600 1700
16419529 bluered C Feb. 29, 2016, 1:43 a.m. OK JavaScript TESTS 63 451 40857600 1700
16418877 bluered C Feb. 28, 2016, 11:56 p.m. OK JavaScript TESTS 63 467 45977600 1700
16418712 bluered C Feb. 28, 2016, 11:31 p.m. OK JavaScript TESTS 63 607 49561600 1700
15952154 Ephemera C Feb. 11, 2016, 7:49 a.m. OK JavaScript TESTS 63 639 44032000 1700
42447795 Slamur C Sept. 4, 2018, 5:30 a.m. OK Kotlin TESTS 63 545 17612800 1700
42719827 QuantumKnight C Sept. 9, 2018, 10:47 p.m. OK Mono C# TESTS 63 374 28160000 1700
50521704 Mem C Feb. 26, 2019, 9:44 a.m. OK Mono C# TESTS 63 405 30208000 1700
15939323 og.kostya C Feb. 10, 2016, 4:09 p.m. OK MS C# TESTS 63 156 9216000 1700
33465710 m1_k3 C Dec. 20, 2017, 8:25 p.m. OK MS C# TESTS 63 280 25190400 1700
15985971 DigitalArtistKz C Feb. 13, 2016, 10:59 a.m. OK MS C# TESTS 63 296 27955200 1700
15944825 toraoh C Feb. 10, 2016, 5:39 p.m. OK MS C# TESTS 63 296 28262400 1700
15944450 bati06 C Feb. 10, 2016, 5:25 p.m. OK MS C# TESTS 63 342 27648000 1700
15986156 DigitalArtistKz C Feb. 13, 2016, 11:11 a.m. OK MS C# TESTS 63 343 30412800 1700
15953052 DVRazor C Feb. 11, 2016, 9 a.m. OK MS C# TESTS 63 358 27750400 1700
15953929 DVRazor C Feb. 11, 2016, 10:03 a.m. OK MS C# TESTS 63 358 30412800 1700
15933513 AnatolyTolstobrov C Feb. 10, 2016, 3:19 p.m. OK MS C# TESTS 63 358 43315200 1700
16027732 eitaho C Feb. 15, 2016, 6:07 a.m. OK MS C# TESTS 63 421 27955200 1700
48776508 vjudge1 C Jan. 23, 2019, 4:26 a.m. OK MS C++ TESTS 63 140 7987200 1700
56495893 vjudge3 C July 4, 2019, 2:52 a.m. OK MS C++ TESTS 63 155 1638400 1700
65247431 vjudge2 C Nov. 17, 2019, 10:55 a.m. OK MS C++ TESTS 63 156 1638400 1700
48778355 vjudge3 C Jan. 23, 2019, 5:38 a.m. OK MS C++ TESTS 63 156 1638400 1700
29474959 vjudge5 C Aug. 15, 2017, 6:56 a.m. OK MS C++ TESTS 63 156 3686400 1700
16016117 Levshunovma C Feb. 14, 2016, 10:06 a.m. OK MS C++ TESTS 63 156 3993600 1700
16067295 kyeongyong1 C Feb. 17, 2016, 7:37 a.m. OK MS C++ TESTS 63 156 32870400 1700
65259796 vjudge2 C Nov. 17, 2019, 2:39 p.m. OK MS C++ TESTS 63 170 1638400 1700
49077709 saturn2019 C Jan. 28, 2019, 4:36 a.m. OK MS C++ TESTS 63 171 1638400 1700
65254146 vjudge1 C Nov. 17, 2019, 12:55 p.m. OK MS C++ TESTS 63 171 1638400 1700
65278080 vjudge1 C Nov. 18, 2019, 3:22 a.m. OK MS C++ 2017 TESTS 63 249 1638400 1700
65250437 vjudge3 C Nov. 17, 2019, 11:51 a.m. OK MS C++ 2017 TESTS 63 249 1638400 1700
56473789 116c C July 3, 2019, 12:18 p.m. OK MS C++ 2017 TESTS 63 577 1638400 1700
56438023 fishdog C July 2, 2019, 3:02 p.m. OK MS C++ 2017 TESTS 63 577 48128000 1700
65252911 vjudge3 C Nov. 17, 2019, 12:34 p.m. OK MS C++ 2017 TESTS 63 717 32870400 1700
51338254 Husne_Matar C March 15, 2019, 3:08 p.m. OK MS C++ 2017 TESTS 63 795 32870400 1700
65692762 vjudge2 C Nov. 25, 2019, 6:06 a.m. OK MS C++ 2017 TESTS 63 966 1843200 1700
15935287 alexey.shchepin C Feb. 10, 2016, 3:32 p.m. OK Ocaml TESTS 63 311 1638400 1700
44612917 hongquanntct C Oct. 20, 2018, 9:23 p.m. OK PHP TESTS 63 857 85708800 1700
44612958 hongquanntct C Oct. 20, 2018, 9:25 p.m. OK PHP TESTS 63 889 89907200 1700
44612807 hongquanntct C Oct. 20, 2018, 9:15 p.m. OK PHP TESTS 63 904 85708800 1700
46120970 IrOty1oX5uSp4 C Nov. 23, 2018, 4:15 p.m. OK PyPy 2 TESTS 63 358 32358400 1700
46121673 IrOty1oX5uSp4 C Nov. 23, 2018, 4:36 p.m. OK PyPy 2 TESTS 63 373 32358400 1700
46107552 IrOty1oX5uSp4 C Nov. 23, 2018, 10:18 a.m. OK PyPy 2 TESTS 63 374 32768000 1700
41540756 Onesh0t C Aug. 12, 2018, 10:51 p.m. OK PyPy 2 TESTS 63 483 18432000 1700
46120730 IrOty1oX5uSp4 C Nov. 23, 2018, 4:08 p.m. OK PyPy 2 TESTS 63 795 30924800 1700
46107338 IrOty1oX5uSp4 C Nov. 23, 2018, 10:09 a.m. OK PyPy 3 TESTS 63 733 59699200 1700
48084798 Skybytskyi.Nikita C Jan. 8, 2019, 10:31 a.m. OK PyPy 3 TESTS 63 748 19353600 1700
46122170 IrOty1oX5uSp4 C Nov. 23, 2018, 4:51 p.m. OK PyPy 3 TESTS 63 764 60518400 1700
46121038 IrOty1oX5uSp4 C Nov. 23, 2018, 4:17 p.m. OK PyPy 3 TESTS 63 780 59289600 1700
46107433 IrOty1oX5uSp4 C Nov. 23, 2018, 10:12 a.m. OK PyPy 3 TESTS 63 780 59289600 1700
64107508 at1 C Nov. 2, 2019, 5:16 p.m. OK PyPy 3 TESTS 63 888 18432000 1700
15969677 unprost C Feb. 12, 2016, 11:16 a.m. OK PyPy 3 TESTS 63 998 20582400 1700
16012525 aste C Feb. 14, 2016, 4:39 a.m. OK Python 2 TESTS 63 935 11161600 1700
15944719 Ramadoka. C Feb. 10, 2016, 5:35 p.m. OK Python 2 TESTS 63 966 12697600 1700
16307353 gnldkm C Feb. 24, 2016, 11:05 a.m. OK Python 2 TESTS 63 997 18944000 1700
15947480 ericbreno1 C Feb. 10, 2016, 8:13 p.m. OK Python 2 TESTS 63 998 12697600 1700
15982710 masonsbro C Feb. 13, 2016, 6:56 a.m. OK Python 2 TESTS 63 998 27443200 1700
17844137 Utenaq C May 11, 2016, 1:48 p.m. OK Python 3 TESTS 63 795 30003200 1700
17874948 ChemJeff C May 12, 2016, noon OK Python 3 TESTS 63 841 30003200 1700
17917368 Magnemite_jgg C May 15, 2016, 9:06 a.m. OK Python 3 TESTS 63 857 27443200 1700
17841425 xiayijie C May 11, 2016, 10:25 a.m. OK Python 3 TESTS 63 873 26726400 1700
17917359 Magnemite_jgg C May 15, 2016, 9:05 a.m. OK Python 3 TESTS 63 873 26828800 1700
60459144 Sevlll C Sept. 12, 2019, 7:33 p.m. OK Python 3 TESTS 63 904 24780800 1700
17874885 ChemJeff C May 12, 2016, 11:55 a.m. OK Python 3 TESTS 63 904 26316800 1700
17969617 2sz.zhao C May 17, 2016, 3:42 p.m. OK Python 3 TESTS 63 904 26726400 1700
18117100 xiayijie C May 27, 2016, 11:29 a.m. OK Python 3 TESTS 63 904 37068800 1700
18946468 GMyhf C July 7, 2016, 8:12 a.m. OK Python 3 TESTS 63 919 25395200 1700
15969507 AlexProk C Feb. 12, 2016, 11:02 a.m. OK Scala TESTS 63 514 3379200 1700

remove filters

Back to search problems