Why am I getting negative time in submission of MAXEP?
In the interactive problem 'Max and Electrical Panel' Dec18 contest
View ArticleMXM Editorial
PROBLEM LINK:PracticeContestAuthor:Rahim MammadiPrimary Tester:Amir Reza PoorAkhavanEditorialist:Hussain Kara FallahDIFFICULTY:Easy-MediumPREREQUISITES:Binary SearchPROBLEM:You are given a sequence of...
View ArticleProblem in Chef and feast DECEMBER 18
After asking the same question in comments section of the same problem and not getting any reply I am asking here.So,in seventh query of 1st eg. i.e. 3 0,since the value of c in this case is one so the...
View ArticleCHFIDEAL Video Editorial
Video solution in C++, Python and Java: https://youtu.be/Og_68xJODPc
View ArticleCHFINTRO Video Editorial
Video solution in C++, Java, Python: https://youtu.be/aWBkxc__VDY
View ArticleCOMAS Video Editorial
Video solution with explanation (C++): https://youtu.be/2F1cRSBCDJ4
View ArticleMAXEP Video Editorial
Video solution with explanation (C++): https://youtu.be/T90wYFVY_3g
View ArticleChef and Interactive XOR | INTXOR | Video Editorial | December Long
Video editorial of December Challenge 2018 Problem : Chef and Interactive XOREditorial: https://www.youtube.com/watch?v=yoJZj8OuFfk
View ArticleEDITORIAL to MAXEP Problem - December Long 2018
This is a classical problem of Binary Search.HOW BINARY SEARCH ------->>For the very beginners : It is taught very much in schools (At least in Indian Schools) that binary Search has a...
View ArticleEDGEDIR - Editorial(Unofficial)
Problem Link:ContestPREREQUISITES:Graph theory, Basic graph algorithmsDifficulty: Easy-mediumPROBLEM:Given an undirected(connected) graph with N vertices and M edges, direct the edges(make a directed...
View ArticleMAXEP EDITORIAL (Unofficial)
For most people, the first method that comes to mind is binary search. However binary search in the worst case requires log2(n) comparisons. This is troublesome if the value of c is really high. We can...
View Articlechef and snackdown
https://www.codechef.com/viewsolution/21996351please help me find my errors I have got the output still it says wrong answer
View ArticleCBFEAST, EDGEDIR short Editorial
CBFEASTFirst of all notice that constant $K$ which is given (which could differ for each query, if task were different).Now every update maps to $2K$ length segment from which we could query ->...
View ArticleDoubt in subtask 2 solution for CBFEAST
I have implemented the solution using merge sort tree and deque to hold the final array. For each type 3 query, it is finding the start and end position in the final array and then finding the sum of...
View ArticleCBFEAST Editorial (Unofficial)
I solved the two small cases like this:My solution for case 1 (small case): simply iterate over them and find the sublist with max sum. (you can do it in O(n) using Kadane's algorithm or one of the...
View ArticleIn how many days result of codechef challenge will be declared.
In how many days result of December long challenge result will be declared.
View ArticleNeed help with one test file for problem INTXOR
Problem: https://www.codechef.com/DEC18A/problems/INTXOR/My Solution (in simple python): It works for first 2 subtasks and also 5 out of 6 test files in subtask 3:...
View ArticlePlease provide ACM ICPC 2018 Pune live Ranklist
Please provide acm icpc 2018 Pune Live Ranklist
View ArticlePlease Explain CBFEAST
Please explain the concept of CBFEAST and your method how to solve it. Thank You.
View Article