GHMC Editorial
PROBLEM LINK:PracticeContestAuthor:Aleksa PlavsicTester:Hussain Kara FallahEditorialist:Hussain Kara FallahPROBLEMProfessor Gukiz has N students number 1 through N. Let's denote the number of candies...
View ArticlePROBSET Editorial
PROBLEM LINK:PracticeContestAuthor:Hasan JaddouhTester:Hussain Kara FallahEditorialist:Hussain Kara FallahPROBLEMChef wrote a problem for his contest. He prepared the test-set. Initially he has...
View ArticleEID Editorial
PROBLEM LINK:PracticeContestAuthor:Hasan JaddouhTester:Hussain Kara FallahEditorialist:Hussain Kara FallahPROBLEMChef has N coins. Each coin has a value. Chef has 2 children whom he will give 1 coin to...
View ArticleJAGAM Editorial
PROBLEM LINK:PracticeContestAuthor:Aleksa PlavsicTester:Hussain Kara FallahEditorialist:Hussain Kara FallahPROBLEMVanja and Miksi are playing a game on N integer numbers. There is a counter S which is...
View ArticleWhat does the editorial for NUMGAME2 explain?
Can someone provide a more explanatory description for NUMGAME2 Editorial.https://discuss.codechef.com/questions/4162/numgame2-editorial
View Articlewhat is wrong with my chef and polygon cakes code?
include<iostream>include<math.h>using namespace std;int main(){float T,N,A,K,total,D,p,Ak,x,y,gcd,temp; int X,Y;cin>>T;if(T<1||T>50){ do{ cout<<"\n invalid...
View ArticleSPREAD - Editorial
PROBLEM LINKSPracticeContestDIFFICULTYEASYEXPLANATIONSETTER'S SOLUTIONCan be found here.TESTER'S SOLUTIONCan be found here.
View ArticleACM-ICPC Registration Process
Hello Guys,I came to know about ACM-ICPC this year and I am thinking for taking part in it. I go through the ICPC website as well as codechef blog's on ICPC many times, but it is still unclear...
View ArticleWhy is the usage of a boolean flag variable instead of an int flag variable...
Problem code: PRIME1 (warning for fast IO is included)Slow IO with boolean: https://www.codechef.com/viewsolution/19890625 (TLE)Slow IO with int: https://www.codechef.com/viewsolution/19890658 (0.94s...
View ArticleONEKING - Editorial
PROBLEM LINK:PracticeContestAuthor:Snigdha ChandaTester:Shiplu HawladerEditorialist:Lalit KunduDIFFICULTY:EASY-MEDIUM PRE-REQUISITES:GreedyPROBLEM:Given N (≤100000) intervals [Ai, Bi], one such...
View ArticleMix Mix Game (JAGAM) Video Editorial
Video solution with explanation: https://youtu.be/EOt8irvqB44
View ArticleHS08TEST - Editorial
PROBLEM LINK:PracticeAuthor:ADMINEditorialist:SUSHANT AGARWALDIFFICULTY:CAKEWALKPREREQUISITES:Basic looping,Basic Input/Output,Data TypesEXPLANATION:Please refer to the sample solution given by...
View ArticleUnable to delete an app on API console.
I have logged in using google and when I try to delete an app created in API console, it asks for password. But when I enter my google account password or any other password I have used before, it says...
View Articleplease fix rating asap
please drop the ratings for people plagiarized in JULY long challenge asap......
View Articleoutput same as expected output, but test fail!
Question asked is:Read a string of length 15, read r and c integers such that r*c=15, arrange the elements of string in form of a matrix which has r rows and c columns.sample...
View ArticleNQNF - EDITORIAL
PROBLEM LINK:PracticeContestSetter:Aleksa PlavsicTester:HussainEditorialist:Taranpreet SinghDIFFICULTY:Medium-HardPREREQUISITES:Convex-hull Trick, Square Root decompositionPROBLEM:Given two Arrays $A$...
View ArticleXGTR Editorial
Can someone please post an unofficial editorial of "X and Two group(XGTR)" problem asked in august lunchtime 2018 ??
View ArticleQuery Regarding ZIO
Hi, I want to know, Are we allowed to use computer or to write code and find solution for any given problem in ZIO(1st step for IOI in India), Or we had to solve it using pen and paper itself i.e PC is...
View ArticleNeed help with GUZAC problem
Link to the QuestionI want to ask why am I getting a wrong answer. Here is my code, I have explained it as well:IDEONE LINK FOR BETTER READABILITY OF CODEdef solve(): #General input section inp =...
View ArticleBooth's algorithm for string rotation
I was trying to understand, https://en.wikipedia.org/wiki/Lexicographically_minimal_string_rotation. Can someone explain the algorithm or suggest some good source for the same.Thanks in advance..
View Article