my code for longest common pattern(Problem code: LCPESY)......it is showing...
include<string.h>include<stdio.h>int main() { char a[10000],b[10000];int t; scanf("%d",&t); while(t>0) { int flag=0;scanf("%s",&a); scanf("%s",&b); for(int...
View ArticleSorry, my question isnt related to programming but willl feel delighted if...
Two of my screws fell on its own from my laptop, initially I didn't care much about it. But recently some damage happened to my laptop. Inspite of being in warranty the company is making excuses that...
View ArticleRR Stone CONSTRAINTS
How to handle the CONSTRAINTS in Codechef?? I am solving RRSTONE problem, everything looks fine from my side like logic and all. but it is saying WA. DO we programmers need to take care that the...
View Articlesubmit code for past cook-off contest?
How can I submit code for cook-off rounds that ended?
View ArticleGetting WA in C++ but AC in Python.
Please dont suggest to check the algorithm carefully because, I know my solutions are correct since when implemented in python I got AC.But still unable to get AC for chef-jumping and rrstone in...
View ArticleRRSTONE why stone?
Does the problem name stone has something to do with the problem logic? Instead of trying in all possible way i am getting error "Wron Answer". Also, the line "Then Ai = MAX - Ai is done for every 1...
View Articlestone may challenge
i m getting the correct answer on my compiler...but when i submit the code..it shows WRONG ANSWER...what do i do?
View Articlemeaning of 1-2 second timelimit
what is the meaning of timelimit is 1-2 sec. Is this 1 second or 2 second? At 1.01 also I got error.
View ArticleStone game
Hi i check all constraints but it shows me wrong ans , What should be ans if input is some string.
View ArticleLittle Elephant and Balloons
could you please explain the 2nd test case of LEBALONS problem ?2 1 1 42 7output : 7.333333333
View Articlegetting wrong answer for Dragon Scroll
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> inline int get_int() { int n=0; char c=0; while(c<33) c=getchar_unlocked();...
View ArticleClosing the forum during contests
Currently the forum is filled with people asking for hints, test-cases and what not . This happens during every Long Contest.I think people below a certain karma should not be allowed to post during...
View ArticleRsonte problem?
Can anybody give some example upto k=5,8 turns? The example given in the problem is so limited. :)
View ArticleCompiler code
In the code compilers and parsers in may long challenge, we need to find the maximum length of valid expression which occurs continuously as a seried without any invalid character in between OR we need...
View ArticleHow wrong answer is displaying?
I am getting right answer on my system but when i am compiling it online on Chef's compiler then it is giving wrong answer. Why it is so?
View ArticleStone problem?
Can anybody give some example upto k=5,8 turns? The example given in the problem is so limited. :)
View Article