KTHMAX - Editorial
PROBLEM LINK:PracticeContestAuthor:RishabhTester:Kevin Charles AtienzaEditorialist:Vaibhav TulsyanDIFFICULTY:MediumPREREQUISITES:Stacks, Binary SearchPROBLEM:For an array of $N$ integers, you are asked...
View ArticleBASE - Editorial
PROBLEM LINK:PracticeContestAuthor:Kevin Charles AtienzaTester:Kevin Charles AtienzaEditorialist:Vaibhav TulsyanDIFFICULTY:Easy-MediumPREREQUISITES:NonePROBLEM:Given an integer $N$, find the number of...
View ArticleANKTRAIN - Editorial
PROBLEM LINK:PracticeContestAuthor:Ankit SrivastavaTester:Kevin Charles AtienzaEditorialist:Vaibhav TulsyanDIFFICULTY:CAKEWALKPREREQUISITES:NonePROBLEM:Given a pattern of arrangement of berths in a...
View ArticleKIRLAB - Editorial
PROBLEM LINK:PracticeContestAuthor:Roman KachurTester:Kevin Charles AtienzaEditorialist:Vaibhav TulsyanDIFFICULTY:Easy-mediumPREREQUISITES:Prime-factorization, GCD, Sieve of Eratosthenes, Dynamic...
View ArticleCHEFCCYL - Editorial
Ah, I could have used the [hide][/hide] function if I knew it earlier. This would make editorials clearer, I think.PROBLEM LINK:PracticeContestAuthor:Full nameTester:Full nameEditorialist:Full...
View ArticleBRIBETR - Editorial
Author:Kamil DebowskiTester:Niyaz NigmatullinEditorialist:Kamil DebowskiDIFFICULTY:MEDIUMPREREQUISITES:two pointers, dynamic programmingPROBLEM...SLOWER SOLUTIONLet's first solve the problem in...
View ArticleWEICOM - Editorial
PROBLEM LINK:PracticeContestAuthor:Trung NguyenTester:Oleksandr KulkovEditorialist:Oleksandr KulkovDIFFICULTY:MEDIUMPREREQUISITES:NonePROBLEM:$n$ players participated in tournaments. Each player...
View ArticleWrong Problem in the Contest 'Coding Hours'
In the contest COHR2018, the problem 'Chef And His Algorithm' is probably wrong.The problem asks us to compute the minimum length of a string which consists of all the permutations of the given string,...
View ArticleDBFB - Editorial
PROBLEM LINK:PracticeContestAuthor:anuj_2106Tester:Suchan ParkEditorialist:Suchan ParkI wasn't aware that the actual editorialist wrote an editorial here, but anyway I decided to upload my work to...
View ArticleXORAGN - Editorial
PROBLEM LINK:PracticeContestAuthor:Abishek SainiTester:Suchan ParkEditorialist:Suchan ParkDIFFICULTY:EasyPREREQUISITES:Properties of XORPROBLEM:Given an integer sequence $A_{1}, A_{2}, \cdots, A_{n}$,...
View ArticleInvitation to ProCon Junior 2018
"Code to fight, Code to survive, Code to win!"Hello Everyone!I would like to invite you all to participate in ProCon Junior to be held on CodeChef. It will begin at 19:30 IST on August 11, 2018.The...
View ArticleIn FRGTNLNG question Which test case is getting failed?
iterations = int(input()) while iterations : numberOfWords, numberOfLines = map(int, input().split()) wordsDictionary = {}; statusString = "" for word in input().split(): wordsDictionary[ word ] = "NO"...
View Articlesmall factorial
include<stdio.h>int main() { int t,a[100],i,f,j; scanf("%d\n",&t); for(i=0;i<t;i++) { scanf("%d\n",&a[i]); } for(i=0;i<t;i++) { f=1; for(j=1;j<=a[i];j++) { f=f*j; }...
View Articlewhat kind of questions may i ask?
I joined today in this site.I am poor at coding.By the suggestion of my sir, I want to know this site and want to learn coding.I am a student.I am studying Btech 1st year in iiit nuzvid.Please give...
View ArticleDo I need to register for the CodeChef monthly contests (Long and Cook-Offs)...
I want to participate in the coming month's contest. Can I participate? Do I need to register for the CodeChef monthly contests (Long and Cook-Offs) every time
View Articlesamsung hiring challenge
sir plz provide your expected inputs or else how would we know that our program is right or wrong because my code is matching the inputs nd outputs given in the description
View ArticleWhy am I getting worng answer ?
/Program to add two numbers/include<iostream>using namespace std; int main() { int T,a,b; cin>>T; /Entering the number of iterations/ for (int i=0; i<=T;i++) { cin>>a>>b; int...
View ArticleLogin problem
hello, I am using codechef with my gmail login. so now I want to login using username and password in same account can I do so? I tried to login with username and password but not able to do so..help!!
View ArticleProcon Junior
I want to know the level of the comptetion (Procon Junior to be held on 11th Aug'2018). Will it be 10th level or +2 level?
View ArticleInvitation to ProCon Junior 2018
"Code to fight, Code to survive, Code to win!"Hello Everyone!I would like to invite you all to participate in ProCon Junior to be held on CodeChef. It will begin at 19:30 IST on August 11, 2018.The...
View Article