Runtime Errors with Java
I have submitted two exactly similar solutions for Java, the following:https://www.codechef.com/viewsolution/11885890https://www.codechef.com/viewsolution/11885863If you see the submission status of...
View ArticleInfo from Working Professional for Jobs.
Hello everybodyI just wanted some information that could help me lead to jobs. I am a final year student from govt college but tier 3 college(NO IIT's OR NIT's). I have worked hard on CodeChef contest...
View ArticleVER003-"Evaluate Me" Editorial
PROBLEM LINKSContestDIFFICULTY mediumPREREQUISITES simple concept of stackPROBLEM STATEMENT Given n digits your task is to find if using "+" , "-" , "*" you can derive v.Quick Explanation Find all the...
View ArticleEditorial for O2CTST03
Sandeep and his Magical bucketsIf a query is of type 0,we need to calculate (A[i] + 1) mod 4 and if the query is of type 1,we need to perform giant += A[i] A[i] = 0but the most difficult part about the...
View ArticleHow to solve "Henry and Lost Ranges" of thrid ACM ICPC Preparatory Series?
Can anyone share their approach who had solved the problem?PROBLEM STATEMENT: Henry is a curious little boy. He likes to play around with numbers.One day, he defined a function ​f for natural numbers...
View ArticleBest known algos for calculating nCr % M
I have often encountered calculating nCr problems the last one being one of the IIIT-M problems but it probably had weak test cases that got easy solutions AC. The other one...
View ArticleAMR15D - Editorial
PROBLEM LINKPracticeContestPanel MembersProblem Setter:SuhashProblem Tester:Editorialist:Sunny AggarwalContest Admin:Russian Translator:Mandarin Translator:Vietnamese Translator:Language...
View ArticleVER001-"Carbon Atom" Editorial
PROBLEM LINKScontestDIFFICULTY EasyPREREQUISITES concept of stackPROBLEM STATEMENT Given an expression which contain carbon and hydrogen atoms your task is to find total no of carbon atoms in...
View ArticleKOL15B - Editorial
PROBLEM LINK:ContestPracticeAuthor:Devendra AggarwalTester:Kevin AtienzaEditorialist:Kevin AtienzaDIFFICULTY:EasyPREREQUISITES:maximum subarray sum, dynamic programming, Kadane's...
View ArticleAMR15B - Editorial
PROBLEM LINKPracticeContestPanel MembersProblem Setter:SuhashProblem Tester:Editorialist:Sunny AggarwalContest Admin:Russian Translator:Mandarin Translator:Vietnamese Translator:Language...
View ArticleVER004-"Race with me" Editorial
PROBLEM LINKS contestcontestDIFFICULTY EasyPREREQUISITES concept of topological sortPROBLEM STATEMENT Given N numbers of teams and dependency of each player to other players. Quick Explanation To get...
View ArticleTREEFUN - Editorial
PROBLEM LINKPracticeContestDIFFICULTYMEDIUM - HARDPREREQUISITESGraph Theory, Lowest Common AncestorPROBLEMYou are given a Tree on N nodes. You have to answer several queries of the following kindGiven...
View ArticleINLO23 - Editorial
PROBLEM LINK:PracticeContestAuthor:RAVIT SINGH MALIKEditorialist:RAVIT SINGH MALIKDIFFICULTY:MEDIUM-HARDPREREQUISITES:BFS , GRAPHSPROBLEM:F(x,y) is a function which determines the performance of the...
View ArticleINLO31 - Editorial
PROBLEM LINK:PracticeContestAuthor:RAVIT SINGH MALIKEditorialist:RAVIT SINGH MALIKDIFFICULTY:EASY - MEDIUMPREREQUISITES:HASHING , MAPPINGPROBLEM:Find the numbers of programmes which is need to...
View ArticleINLO25 - Editorial
PROBLEM LINK:PracticeContestAuthor:RAVIT SINGH MALIKEditorialist:RAVIT SINGH MALIKDIFFICULTY:MEDIUM - HARDPREREQUISITES:MATHS,NUMBER THEORYPROBLEM:You are required to find the number of trailing...
View ArticleDifficulties in Upsolving Contest Questions after any contest
Hey there, I have been doing CP for about 4-5 months now. Till now I have been solving questions that require almost direct algorithms and other approaches. However, there are many times when I am not...
View Article{HELP} - What's wrong in this code for THE NEXT PALINDROME problem ?
THANKS IN ADVANCE !!!!!//JUST LIKE ANIMALS !!!! #include<bits/stdc++.h> using namespace std; typedef unsigned long long ll; bool ispalin(ll n){ ll i; string s=to_string(n);...
View Article[Codeforces]- Help needed in Puzzles(337A) problem.
Here is my code. I have understood how to solve this using tutorial approach, but I want to know why my code is giving a WA and what changes should I make to get it accepted.YOU GUYS ARE A CHARM....
View ArticleEditorials for the problems SEAARI and BGQRS
When will the editorials for the problems SEAARI and BGQRS get uploaded?
View Article