How can I reduce my time limit during programming on competitive sites?
How can I reduce my time limit during programming on competitive sites?
View ArticleSIGSEGV error
Problem: Grab a ladder. http://www.codechef.com/ICD2015/problems/ICD02include <stdio.h>include <stdlib.h>int c1; int main() { int i=0,j=0,cases=0,n=0,ladder=0,h=0; FILE fp; FILE...
View ArticleCARLOS - Wrong Answer?
The link to my solution and results.I don't understand why I am getting wrong answers for the question? Can someone please explain?
View ArticleFRMQ - Wrong Answer
This is the link to my solution.If possible can anyone help me to fix my answer so that I can atleast get AC for subtask 2?
View ArticleICLFIN04 - Editorial
PROBLEM LINK:Contest link: ICLFIN04AuthorJaiwant RawatTesterShubham GuptaEditorialistJaiwant RawatDIFFICULTY:MEDIUM-HARDPREREQUISITES:LIS (Longest Increasing Subsequence)PROBLEM:PK is stuck on earth....
View ArticleICLFIN06 - Editorial
PROBLEM LINK:Contest link: ICLFIN06AuthorEklavya SharmaTesterShubham GuptaEditorialistEklavya SharmaDIFFICULTY:HARDPREREQUISITES:Graphs, DPPROBLEM:Hexabot moves in a series of one-sixth circular arcs...
View ArticleICLFIN02 - Editorial
PROBLEM LINK:Contest link: ICLFIN02AuthorSourabh BansalTesterShubham GuptaDIFFICULTY:CakewalkPREREQUISITES:NonePROBLEM:You need to find the maximum occuring number and its occurance value. If 2 or more...
View ArticleICLFIN05 - Editorial
Problem Name: Band and their concertContest Link : ICLFIN05Algorithm/Technique:DPDifficulty Level:Medium-HardComplexity:O(N^2*T) where N is number of cities and T is maximum time Explanation:Since...
View ArticleICLFIN03 - Editorial
PROBLEM LINK:Contest link: ICLFIN03AuthorSourabh BansalTesterShubham GuptaEditorialistSourabh BansalDIFFICULTY:EASY-MEDIUMPREREQUISITES:Simple MathsPROBLEM:A team is to be formed of "n" players, all of...
View ArticleICLFIN01 - Editorial
PROBLEM LINK:Contest link: ICLFIN01AUTHOR:Rishabh JoshiTESTER:Shubham GuptaDIFFICULTY:EASY-MEDIUMPREREQUISITES:NonePROBLEM:GamerBOT is playing Counter Strike on BITS Pilani LAN. It is a modified...
View ArticleACMICL2 - Editorial
PROBLEM LINK:http://www.codechef.com/ICL2015/problems/ACMICL2Author:Eklavya SharmaTester:Hasil SharmaDIFFICULTY:MEDIUMPREREQUISITES:Math, Binary exponentiation, MatricesPROBLEM:A well of depth h...
View ArticleACMICL5 - Editorial
PROBLEM LINK:http://www.codechef.com/ICL2015/problems/ACMICL5Author:Jaiwant RawatTester:Ankit SultanaDIFFICULTY:HARDPREREQUISITES:Dynamic ProgrammingEXPLANATION:For solving it we will keep track of...
View ArticleACMICL4 - Editorial
PROBLEM LINK:http://www.codechef.com/ICL2015/problems/ACMICL4Author:Ravi Shankar PandeyTester:Shubham GuptaDIFFICULTY:MEDIUM-HARDPREREQUISITES:Longest Common Subsequence and Longest Increasing...
View ArticleACMICL3 - Editorial
PROBLEM LINK:http://www.codechef.com/ICL2015/problems/ACMICL3Author:Aditi AgarwalTester:Siddharth SahaiDIFFICULTY:EASYPREREQUISITES:SortingPROBLEM:When a person enters or exits a library, he enters his...
View ArticleACMICL1 - Editorial
PROBLEM LINK:http://www.codechef.com/ICL2015/problems/ACMICL1Author:Cheral KhandediyaTester:Shubham GuptaDIFFICULTY:EASY-MEDIUMPREREQUISITES:NonePROBLEM:You have N mice. All of them eat cupcakes with...
View ArticleSPIT2-Editorial
PROBLEM LINKPracticeContestAuthor : Ankit Sagwekar Tester : Vikesh Tiwari Editorialist : Ankit SagwekarDIFFICULTYEasy PREREQUISITESbasics,array,implementationPROBLEMGiven two integers 'm' and 'n'. Find...
View ArticleSPIT3-Editorial
PROBLEM LINKPracticeContestAuthor: Vikesh Tiwari Tester : Vikesh Tiwari Editorialist: Vikesh TiwariDIFFICULTY: CakeWalkPREREQUISITES:implementationPROBLEMGiven string as a password. Check if it...
View ArticleSPIT04- Editorial
PROBLEM LINKPracticeContestAuthor: Vikesh Tiwari Tester : Vikesh Tiwari Editorialist: Vikesh TiwariDIFFICULTY:EasyPREREQUISITES:data Structures,array,setPROBLEMYou're given an array a, consisting of...
View ArticleGetting NZEC in JAVA!
Hi,While submitting my code, I continuously keep getting NZEC, but when I'm running the code on my machine, it runs perfectly as per the standard input provided. Can anyone help please? Here's my code...
View Article