Quantcast
Channel: CodeChef Discuss - latest questions
Browsing all 39796 articles
Browse latest View live
↧

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 Article


Sorry, 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 Article


RR 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 Article

submit code for past cook-off contest?

How can I submit code for cook-off rounds that ended?

View Article

rrstone long contest

is there space after the last element of output array or \n

View Article


I am getting Runtime Error(NZEC) but working perfectly on Eclipse

code deleted

View Article

Getting 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 Article

RRSTONE 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 Article


Compiler code

would output be the longest length of first valid expression?

View Article


stone 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 Article

meaning 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 Article

Stone game

Hi i check all constraints but it shows me wrong ans , What should be ans if input is some string.

View Article

Little Elephant and Balloons

could you please explain the 2nd test case of LEBALONS problem ?2 1 1 42 7output : 7.333333333

View Article


getting 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 Article

Closing 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 Article


RRSTONE inputs are seperated by space

The inputs are seperated by space?

View Article

Rsonte problem?

Can anybody give some example upto k=5,8 turns? The example given in the problem is so limited. :)

View Article


Compiler 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 Article

How 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 Article

Stone problem?

Can anybody give some example upto k=5,8 turns? The example given in the problem is so limited. :)

View Article
Browsing all 39796 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>