understanding the problem
Hi,can anyone explain in detail what is required in the following program?http://www.codechef.com/NCC2014/problems/MULDIV/ My code http://www.codechef.com/viewsolution/3908975have I misunderstood the...
View Articleunderstanding the problem
Hi,can anyone explain in detail what is required in the following program?http://www.codechef.com/NCC2014/problems/MULDIV/ My code http://www.codechef.com/viewsolution/3908975have I misunderstood the...
View ArticleEXAM - Editorial ( NCC 2014 )
PROBLEM LINK:ContestAuthors:Vaibhav Tulsyan, Aditya SarodeTester:Vaibhav TulsyanEditorialist:Vaibhav TulsyanDIFFICULTY:EASYPREREQUISITES:Knapsack ProblemPROBLEM:Given the marks for N questions and the...
View ArticleMULDIV - Editorial ( NCC 2014 )
PROBLEM LINK:ContestAuthor:Vaibhav Tulsyan, Aditya SarodeTester:Aditya SarodeEditorialist:Aditya SarodeDIFFICULTY:SIMPLEPROBLEM:F:for i from 1 to M inclusive, doif N is a multiple of K, divide N by K...
View ArticleSNOOKER - Editorial ( NCC 2014 )
PROBLEM LINK:ContestAuthor:Vaibhav Tulsyan, Aditya SarodeTester:Aditya SarodeEditorialist:Aditya SarodeDIFFICULTY:MEDIUMPROBLEM:Given a snooker table with different points to its four sides find out...
View Articlestray } error in the program
An errot saying stray } in the program (at the end of the program) when i try to compile my program. What to do ?
View ArticleQUAD - 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 Article