Educational Codeforces Round 36 (Rated for Div. 2)

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
915 Educational Codeforces Round 36 (Rated for Div. 2) FINISHED False 7200 215974499 Jan. 13, 2018, 1:05 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 4488 ) E Physical Education Lessons PROGRAMMING data structures implementation sortings 2300

B"This year Alex has finished school, and now he is a first-year student of Berland State University. For him it was a total surprise that even though he studies programming, he still has to attend physical education lessons. The end of the term is very soon, but, unfortunately, Alex still hasn't attended a single lesson! Since Alex doesn't want to get expelled, he wants to know the number of working days left until the end of the term, so he can attend physical education lessons during these days. But in BSU calculating the number of working days is a complicated matter: There are n days left before the end of the term (numbered from 1 to n), and initially all of them are working days. Then the university staff sequentially publishes q orders, one after another. Each order is characterised by three numbers l, r and k: Help Alex to determine the number of working days left after each order! The first line contains one integer n, and the second line -- one integer q (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89109, 1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89q xe2 x80 x89 xe2 x89 xa4 xe2 x80 x893 xc2 xb7105) -- the number of days left before the end of the term, and the number of orders, respectively. Then q lines follow, i-th line containing three integers li, ri and ki representing i-th order (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, 1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89ki xe2 x80 x89 xe2 x89 xa4 xe2 x80 x892). Print q integers. i-th of them must be equal to the number of working days left until the end of the term after the first i orders are published. "...

Tutorials

57123

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
34208531 chinmay0906 E Jan. 15, 2018, 9:51 p.m. OK GNU C TESTS 36 608 226304000 2300
34284758 smtcoder E Jan. 18, 2018, 7:18 p.m. OK GNU C TESTS 36 638 242380800 2300
34208461 chinmay0906 E Jan. 15, 2018, 9:45 p.m. OK GNU C TESTS 36 639 226304000 2300
35567497 dalt E Feb. 22, 2018, 8:05 a.m. OK GNU C TESTS 36 857 242380800 2300
40978516 ReaLNero1 E July 30, 2018, 4:40 p.m. OK GNU C++ TESTS 36 202 20684800 2300
34341422 xht13127 E Jan. 20, 2018, 6:45 a.m. OK GNU C++ TESTS 36 249 29388800 2300
34180019 guille E Jan. 14, 2018, 4:16 p.m. OK GNU C++ TESTS 36 265 11673600 2300
34407418 anti_tourist E Jan. 21, 2018, 9:16 a.m. OK GNU C++ TESTS 36 327 11776000 2300
34218751 nurlitadf E Jan. 16, 2018, 10:27 a.m. OK GNU C++ TESTS 36 358 11673600 2300
34437737 soul_departed E Jan. 22, 2018, 8:03 a.m. OK GNU C++ TESTS 36 358 11776000 2300
34179463 RedTea E Jan. 14, 2018, 3:50 p.m. OK GNU C++ TESTS 36 358 21401600 2300
34926570 yura08 E Feb. 4, 2018, 4:33 p.m. OK GNU C++ TESTS 36 358 23756800 2300
35455559 danymalets E Feb. 18, 2018, 7:35 p.m. OK GNU C++ TESTS 36 373 11776000 2300
37701872 tanghao E April 29, 2018, 6:42 a.m. OK GNU C++ TESTS 36 373 13209600 2300
64419978 paulzrm E Nov. 6, 2019, 5:44 p.m. OK GNU C++11 TESTS 36 218 9728000 2300
53792248 luogu_bot4 E May 5, 2019, 1:30 p.m. OK GNU C++11 TESTS 36 233 24166400 2300
34173429 xolm E Jan. 14, 2018, 11:31 a.m. OK GNU C++11 TESTS 36 234 21299200 2300
45165552 luogu_bot3 E Nov. 1, 2018, 10:59 a.m. OK GNU C++11 TESTS 36 249 44236800 2300
34198282 Bodo E Jan. 15, 2018, 1:40 p.m. OK GNU C++11 TESTS 36 264 11673600 2300
56980706 lzzAKIOI E July 13, 2019, 1:47 p.m. OK GNU C++11 TESTS 36 264 24268800 2300
34184434 AlanWaP E Jan. 14, 2018, 8:46 p.m. OK GNU C++11 TESTS 36 265 11776000 2300
53688646 luogu_bot3 E May 3, 2019, 3:03 a.m. OK GNU C++11 TESTS 36 265 28979200 2300
57768183 py_ultron E July 25, 2019, 10:10 p.m. OK GNU C++11 TESTS 36 280 9728000 2300
54028374 buerdepepeqi E May 12, 2019, 2:16 p.m. OK GNU C++11 TESTS 36 280 9728000 2300
34449336 akmintro E Jan. 22, 2018, 1:51 p.m. OK GNU C++14 TESTS 36 202 21401600 2300
34195350 _AjReme_ E Jan. 15, 2018, 11:37 a.m. OK GNU C++14 TESTS 36 202 21401600 2300
64368981 MagicSpark E Nov. 6, 2019, 1:46 p.m. OK GNU C++14 TESTS 36 202 24473600 2300
34234105 Linkus E Jan. 16, 2018, 10:09 p.m. OK GNU C++14 TESTS 36 264 26112000 2300
34232221 Linkus E Jan. 16, 2018, 8:22 p.m. OK GNU C++14 TESTS 36 264 26112000 2300
34234084 Linkus E Jan. 16, 2018, 10:07 p.m. OK GNU C++14 TESTS 36 265 26112000 2300
34188581 nong E Jan. 15, 2018, 4:27 a.m. OK GNU C++14 TESTS 36 280 11673600 2300
34234091 Linkus E Jan. 16, 2018, 10:08 p.m. OK GNU C++14 TESTS 36 280 26214400 2300
57329414 toxic_hack E July 19, 2019, 1:31 p.m. OK GNU C++14 TESTS 36 295 9830400 2300
34258566 chintu E Jan. 17, 2018, 5:39 p.m. OK GNU C++14 TESTS 36 295 11673600 2300
64514775 yuma_ E Nov. 8, 2019, 10:17 a.m. OK GNU C++17 TESTS 36 342 9830400 2300
60718467 Pccc E Sept. 17, 2019, 11:35 a.m. OK GNU C++17 TESTS 36 342 9830400 2300
51915211 igba E March 27, 2019, 8:55 p.m. OK GNU C++17 TESTS 36 342 19456000 2300
54852803 spellstaker E May 30, 2019, 5:30 p.m. OK GNU C++17 TESTS 36 342 19456000 2300
66417096 TheOneYouWant E Dec. 6, 2019, 5:30 p.m. OK GNU C++17 TESTS 36 343 9830400 2300
64203369 charlieyan E Nov. 4, 2019, 12:08 p.m. OK GNU C++17 TESTS 36 358 9830400 2300
64196449 tender_green E Nov. 4, 2019, 9:53 a.m. OK GNU C++17 TESTS 36 358 9830400 2300
57948456 465798176 E July 29, 2019, 3:20 p.m. OK GNU C++17 TESTS 36 358 9830400 2300
40089694 DomiKo E July 8, 2018, 3:58 p.m. OK GNU C++17 TESTS 36 358 9830400 2300
48894515 XG20 E Jan. 24, 2019, 3:20 p.m. OK GNU C++17 TESTS 36 358 10035200 2300
63773312 synapse E Oct. 30, 2019, 8:43 a.m. OK Go TESTS 36 561 18841600 2300
34591175 alculquicondor E Jan. 27, 2018, 1:35 a.m. OK Go TESTS 36 748 53350400 2300
63773130 synapse E Oct. 30, 2019, 8:40 a.m. OK Go TESTS 36 951 23756800 2300
47342971 hongquanntct E Dec. 21, 2018, 6:12 p.m. OK Java 8 TESTS 36 499 33996800 2300
66649181 unicorn20141 E Dec. 11, 2019, 6:10 p.m. OK Java 8 TESTS 36 529 42905600 2300
52430428 Dukkha E April 6, 2019, 10:14 p.m. OK Java 8 TESTS 36 560 22937600 2300
34282261 prudvinit E Jan. 18, 2018, 5:19 p.m. OK Java 8 TESTS 36 592 38502400 2300
34184202 Ahmad E Jan. 14, 2018, 8:27 p.m. OK Java 8 TESTS 36 607 39424000 2300
34222413 kanak893 E Jan. 16, 2018, 1:03 p.m. OK Java 8 TESTS 36 623 38912000 2300
34225357 parth_15 E Jan. 16, 2018, 3:10 p.m. OK Java 8 TESTS 36 670 37478400 2300
34208316 mathmaniac E Jan. 15, 2018, 9:19 p.m. OK Java 8 TESTS 36 686 38092800 2300
34192769 Jeel_Vaishnav E Jan. 15, 2018, 9:13 a.m. OK Java 8 TESTS 36 701 39219200 2300
34166588 poikniok E Jan. 14, 2018, 4:44 a.m. OK Java 8 TESTS 36 702 38912000 2300
67183607 Spheniscine E Dec. 19, 2019, 2:34 a.m. OK Kotlin TESTS 36 951 33484800 2300
66809608 Spheniscine E Dec. 14, 2019, 1:07 a.m. OK Kotlin TESTS 36 982 33382400 2300
66809433 Spheniscine E Dec. 14, 2019, 12:56 a.m. OK Kotlin TESTS 36 998 32972800 2300
66810417 Spheniscine E Dec. 14, 2019, 1:47 a.m. OK Kotlin TESTS 36 998 33484800 2300
67966306 hibatibati E Dec. 30, 2019, 1:28 p.m. OK Mono C# TESTS 36 998 85401600 2300
34220938 redoak E Jan. 16, 2018, 12:06 p.m. OK MS C++ TESTS 36 327 11673600 2300
34220881 redoak E Jan. 16, 2018, 12:04 p.m. OK MS C++ TESTS 36 343 21401600 2300
34181137 Maffka E Jan. 14, 2018, 5:03 p.m. OK MS C++ TESTS 36 358 11673600 2300
35131495 RCG E Feb. 10, 2018, 4:40 p.m. OK MS C++ TESTS 36 389 11673600 2300
34221051 x0000ai E Jan. 16, 2018, 12:10 p.m. OK MS C++ TESTS 36 608 39833600 2300
34221028 x0000ai E Jan. 16, 2018, 12:09 p.m. OK MS C++ TESTS 36 623 39833600 2300
34170862 x0000ai E Jan. 14, 2018, 9:03 a.m. OK MS C++ TESTS 36 655 39833600 2300
51929040 vjudge2 E March 28, 2019, 9:19 a.m. OK MS C++ TESTS 36 811 240435200 2300
43826698 vjudge3 E Oct. 5, 2018, 12:11 p.m. OK MS C++ TESTS 36 826 62464000 2300
57013614 vjudge3 E July 14, 2019, 10:33 a.m. OK MS C++ TESTS 36 826 240435200 2300
57971012 nuchenghao E July 30, 2019, 5:55 a.m. OK MS C++ 2017 TESTS 36 592 24064000 2300
62618002 vjudge1 E Oct. 15, 2019, 12:01 p.m. OK MS C++ 2017 TESTS 36 607 24064000 2300
34299828 hatoo E Jan. 19, 2018, 10:59 a.m. OK Rust TESTS 36 389 11776000 2300

remove filters

Back to search problems