Not got rank
Hello, I'm new on codechef and due to my poor English, I can't find the instructions about how to get short contest rating. I participate in February Lunchtime 2014 without regist in exam ( I don't...
View ArticleNeed an Explanation for the code.
I wrote a code like this#include<iostream> using namespace std; int main() { int w=32; int x=1<<w; int z=1<<32; cout<<"X : "<<x<<endl; //Case 1 cout<<"Z :...
View ArticleHelp in IGNUS14B
I'm trying to solve the problem Prime Palindromes(IGNUS14B) Link-http://www.codechef.com/problems/IGNUS14BI have used Manacher's algorithm in my solution.But it is not working for some cases...
View ArticleSereja and permutation explaination
Can anyone explain me the output for http://www.codechef.com/APRIL14/problems/SEAPERM#comment-76557 . How are we getting the permutations?
View ArticleHard coding solutions
Suppose we have question with single integer as input and the input ranges from 0 to n where n is small. Is it ok to hard code answer for the inputs in the source code?
View Articlefile program issue
digraph _OP_control_flow { graph [center=true, epsilon=".000001", pack=true, rankdir=LR, ratio=compress, sep=".5", size="5.83,8.27", splines=true ]; node [fillcolor="#fff9f9", shape=doublecircle,...
View ArticleA story with strings
There was a competition here http://www.codechef.com/MARCH14 and there was a problem A story with strings I solved it and want to know if it is successful#include <iostream> #include...
View ArticleChallenge problem scoring
Hi. I would like to know, when we have more than one accepted solutions to challenge problem, does the system test them all with final tests and count the highest one, or it tests only the last...
View ArticleCode faster?
In many short contests on code chef speed is of immense importance how can I improve my coding speed without altering the logic?
View ArticleOld Maid-Card Game
This program will use arrays to represent a simple card game; it will also use functions to organize the code into a structure easy to write and debug. SPECIAL ASSIGNMENT REQUIREMENT:A Better...
View Articlehow to reduce time limit exceed?
when i submit a problem sometimes it shows time limit exceeds . so how can i reduce my time limit and how can i make it efficient
View ArticleDeactivation of old account
Hello codechef team. I have two accounts on codechef. One is with the user name 'euphoria' registered with the email id euphoria.aayush94@gmail.com. Now, I recieved my email id from my college LNMIIT....
View Articlereducing execution time of program
what are the optimisation approaches which one can use to get rid of 'time limit exceeded' problem during submitting code?
View ArticleWhat's the issue with the following cleanup solution in C?
#include<stdio.h> int arr[1000],store[1000],result[1000]; int main() { int n,i,k=0,j,m,t,count=0; scanf("%d",&t); for(i=0;i<t;i++) { scanf("%d%d",&n,&m); for(j=1;j<=m;j++) {...
View Articlecyclic strings
Question: http://www.codechef.com/TUXO2014/problems/SREENIMy solution: http://www.codechef.com/viewsolution/3716014I was trying to solve it by rotating the array about each element from 2nd loaction to...
View ArticleFormula or logic to find multiplied no. ?
Is there any general formula or logic to," find no. case when product of two natural no. is than a given natural no.eg.. Suppose given no. x=3 than cases: (1,1),(1,2),(2,1) total cases=3 thus similary...
View ArticleWhat kind of comment should I post on the problem page?
Is there any comment posting guideline? I am new on this website. I have so many doubts while I participate in a contest. Can I ask them on the problem page by posting a comment? Will I be banned for...
View ArticleAndroid Programmin
Can anyone recommend any good online free tutorial for android programming
View ArticleOutput confusion for Chef and Digits
Hey there,I am a bit confused about the output of the problem chef and digits.Do we need to give a blank line b/w the input and the output lines or do we need to continue the output on the next line of...
View Article