QUAD - Editorial ( NCC 2014 )
PROBLEM LINK:ContestAuthor:Vaibhav Tulsyan, Aditya SarodeTester:Vaibhav TulsyanEditorialist:Vaibhav TulsyanDIFFICULTY:CAKEWALKPREREQUISITES:Binary ArithmeticPROBLEM:Given a hex number, split it into...
View ArticleRECT - Editorial ( NCC 2014 )
PROBLEM LINK:ContestAuthor:Vaibhav Tulsyan, Aditya SarodeTester:Aditya SarodeEditorialist:Aditya SarodeDIFFICULTY:EASYPROBLEM:Given N rectangles and M points in a co-ordinate plane, each of the point...
View ArticleSNET - Editorial ( NCC 2014 )
PROBLEM LINK:ContestAuthor:Vaibhav Tulsyan, Aditya SarodeTester:Aditya SarodeEditorialist:Aditya SarodeDIFFICULTY:MEDIUMPREREQUISITES:Graphs, DFSPROBLEM:Given a graph with K edges, find out the number...
View ArticleIssue with challenge problems
What happened?In the May long contest, contestants were able to make many submissions and extract data about test cases. Few users say this is against rules, others say only the smart ones were able to...
View ArticleANUMFS - Editorial
PROBLEM LINK:PracticeContestAuthor:Anudeep NekkantiTester:Sergey KulikEditorialist:Lalit KunduDIFFICULTY:CHALLENGE PROBLEM:It is an interactive judge problem. You have a search area defined by n...
View ArticleZonal Informatics Olympiad
How can i participate in this olympiad. They are not showing how to particiapte on their site. Can any one just tell me
View Articledynamic programming knapsack
hey please make me understand the logic of the question http://www.codechef.com/NCC2014/problems/EXAM/
View ArticleWhere can I find problems of NCC2014 for PRACTICE?
I cannot find them on PRACTICE page.
View ArticleUVA 3n+1 problem
Instead of brute force is there any trick or formula to solve this problem. http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=36
View ArticleRPC program problem!
Hi,I'm working on RPC in linux , I use Rpcgen to generate the files . My program is to send an array to a server , the server returns 3 * array.. // .x file const maxnum=50; struct inout_array { int...
View ArticleDecreasing String:Cannot find error
My c code for this for the problem : #include<stdio.h> int main() { char alpha[27]; int t,k,q,r,i; for(i='z';i>='a';--i) alpha['z'-i]=i; // storing in descending order alpha[i]='\0';...
View ArticleHOLES - Editorial
PROBLEM LINKSPracticeContestDIFFICULTYEASYEXPLANATION You just simply need to do what is mentioned in problem statement. Just note that only letter “B” has two holes, and only letters “A”, “D”, “O”,...
View ArticleWhat IDE should I use for java ?
I know this is not a technical questions, but I need some guidance from java users. Till today, I have done all my coding in C/C++ using CodeBlocks. CB is the best till now for C++, or is there any...
View ArticleNot a Triangle:Wrong answer
In the problem Not a Triangle , i have used c language and followed the algo :1.Sort the array using merge sort in ascending order. 2.find the smallest index of array such that it is a[index]...
View ArticleAmbiguous Permutation Problem
Hello everyone. I tried the Ambiguous Permutation problem under the Easy category, and I've written a code that seems to be working perfectly but for some reason the website says it's the wrong answer....
View ArticleNot a triangle
I am getting WA for the question:http://www.codechef.com/problems/NOTATRI/ Anyone plz. explain where i am wrong.Thnx. My code: http://www.codechef.com/viewsolution/2213497
View ArticleLEBALONS - Editorial
PROBLEM LINK:PracticeContestAuthor:VitaliyTester:Sergey KulikEditorialist:Lalit KunduDIFFICULTY:EASY-MEDIUM PREREQUISITES:Combinatorics, Dynamic Programming, Probability PROBLEM:Given N ballons, i'th...
View ArticleNo editorial for SEINC
When will the editorial of May 14 long challenge Sereja and Subsegment Increasings(SEINC-May 14) be posted?
View ArticleTLE in SPOJ: A Needle in the Haystack
Problem linkMy codeI have implemented the Rabin-Karp algorithm and still it's exceeding the time limit. Any suggestions for making it faster?
View ArticleCleaning Up runtime error
Hi, I was trying out Clean Up problem from Practice section, but this code I wrote is giving me an NZEC. I have no idea why. Code:from __future__ import division def read_mapped(func=lambda x:x):...
View Article