Quantcast
Channel: CodeChef Discuss - latest questions
Browsing all 40121 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Why am I getting negative time in submission of MAXEP?

In the interactive problem 'Max and Electrical Panel' Dec18 contest

View Article


MXM Editorial

PROBLEM LINK:PracticeContestAuthor:Rahim MammadiPrimary Tester:Amir Reza PoorAkhavanEditorialist:Hussain Kara FallahDIFFICULTY:Easy-MediumPREREQUISITES:Binary SearchPROBLEM:You are given a sequence of...

View Article


Problem 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 Article

CHFIDEAL Video Editorial

Video solution in C++, Python and Java: https://youtu.be/Og_68xJODPc

View Article

CHFINTRO Video Editorial

Video solution in C++, Java, Python: https://youtu.be/aWBkxc__VDY

View Article


COMAS Video Editorial

Video solution with explanation (C++): https://youtu.be/2F1cRSBCDJ4

View Article

MAXEP Video Editorial

Video solution with explanation (C++): https://youtu.be/T90wYFVY_3g

View Article

Chef 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 Article


EDITORIAL 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 Article


EDGEDIR - 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 Article

MAXEP 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 Article

chef and snackdown

https://www.codechef.com/viewsolution/21996351please help me find my errors I have got the output still it says wrong answer

View Article

CBFEAST, 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 Article


Doubt 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 Article

CBFEAST 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 Article


In how many days result of codechef challenge will be declared.

In how many days result of December long challenge result will be declared.

View Article

Need 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 Article


icpc gwalior live ranklist???

link for live ranklist icpc gwalior-pune region???

View Article

Please provide ACM ICPC 2018 Pune live Ranklist

Please provide acm icpc 2018 Pune Live Ranklist

View Article

Please Explain CBFEAST

Please explain the concept of CBFEAST and your method how to solve it. Thank You.

View Article
Browsing all 40121 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>