K6A editorial
PROBLEM LINK:PracticeContestAuthor:Chandan BoruahTester:Chandan BoruahEditorialist:Chandan BoruahDIFFICULTY:EASYPREREQUISITES:Basic MathsPROBLEM:Given an array where elements can take only 2 values...
View ArticleTIDUAFT - Editorial
Contest:ICO 2018 Practice Contest 1Author:Udit SanghiTester:Shashwat GoelEditorialist:Shashwat GoelProblem StatementGiven $3$ numbers $N$,$X$ and $K$ you need to tell the number of ways of making an...
View ArticleUnofficial Editorials October Long Challenge (Part 2)
Hello GuysThis is the part 2 of three posts of unofficial editorials for October Long Challenge.For Solutions of problems PERFCONT, MEX and/or CHEFCOUN, click here.For Solutions of problems CHEFCCYL...
View ArticleCan someone provide the solution to CK87DANC
since the editorials are not out, can someone explain the solution of the problem?
View ArticleLISDIGIT - Editorial
PROBLEM LINK:ContestPracticeAuthor:Alexey ZayakinTesters:Hasan JaddouhEditorialist:Alexey ZayakinDIFFICULTY:CakewalkPREREQUISITES:Constructive algorithms, longest increasing subsequencePROBLEM:For an...
View Articlediv 2 codeforces round 442
http://codeforces.com/contest/877/problem/Ccan someone point me y bombing from 1 to n and then on n-1 fails , that does destroys all tanks.
View ArticleRegarding Codechef's Cook-Offs
I have participated in 6-7 Cook-Offs now, and wanted to give some suggestions that I think will make it better.Cook-Offs use ACM style ranking. But don't you think 20 minutes penalty is a bit too much...
View ArticleLTM40AB - WA
Question linkMy SolutionI dont know in what condition my answer will give WA???
View ArticleWhy is this not right????? (LCOLLIS)
This is my simple solution: import java.util.Scanner; class LCOLLIS { final static long[] factorial = {1,1,2,6,24,120,720,5040,40320,362880,3628800}; public static void main(String[] args) { Scanner...
View ArticleRequest for simple explanation for MARRAYS problem.
Can someone please give a simple explanation to the MARRAYS problem of Oct'17 long challenge.I tried to understand it from the editorial but i'm unable to understand all the mathematical language...
View ArticleINTERVAL TREES!! NEED HELP
Hi all. I recently learnt about interval trees, how I can search for overlapping intervals. But under suggested problem I found FLIPCOIN. Can anyone explain me how it can be solved using INTERVAL TREE....
View ArticleLEVY - Editorial
PROBLEM LINK:PracticeContestAuthor:Kaushik IskaTester:Hiroto SekidoEditorialist:Anton LunyovDIFFICULTY:SIMPLEPREREQUISITES:Sieve of EratosthenesPROBLEM:For the given positive integer n ≤ N := 10000 you...
View ArticleHelp regarding a flow problem
Hi. I Have a variant of the standard flow problem. ... 1st let me state in simple terms the original flow problem ( if there is some mistake do let me know ) Say u have a graph with n nodes m edges .....
View Articleonline judge time/space variations even when submitting same code
Once I submitted exactly same code using same language... (only with a few comments added to the code), actually I couldn't get the problem so I copied someone else's code for better understanding and...
View ArticleCK87MEDI - Editorial
Problem Link:PracticeContestAuthor: Mohammad Shahhoud& Said SryhiniTester: Hasan JadouhEditorialist: Said SryheniDifficulty:cakewalkPrerequisites :SortingProblem:Given an array of $N$ element, you...
View ArticleCK87QUER - editorial
Problem Link:PracticeContestAuthor: Mohammad Shahhoud& Said SryhiniTester: Hasan JadouhEditorialist: Mohammad ShahhoudDifficulty:SimplePrerequisites :Two Pointers, Simple MathProblem:Given $Q$...
View ArticleCK87GSUB - Editorial
Problem Link:PracticeContestAuthor: Mohammad Shahhoud& Said SryhiniTester: Hasan JadouhEditorialist: Said SryheniDifficulty:EasyPrerequisites :Counting, CombinatoricsProblem:Given a string $A$ of...
View ArticleCK87MEAD - Editorial
Problem Link:PracticeContestAuthor: Mohammad Shahhoud& Said SryhiniTester: Hasan JadouhEditorialist: Mohammad ShahhoudDifficulty:Medium-HardPrerequisites :Centroid Decomposition, Sweep Line, Binary...
View ArticleHelp in ZCO15002 & ZCO13001
I have written this code for ZCO15002: https://www.codechef.com/viewsolution/15948337I also used the same approach for ZCO13001, with this code: https://www.codechef.com/viewsolution/15948396They seem...
View Article