"I want to ask a question" - Ask them all here!

Does codechef long have system tests like codeforces? If it has, then is it only for the challenge problem or for each problems?

https://www.codechef.com/viewsolution/17293555

i am getting W/A! but it passes all my testcases.

also how do you make test cases?

please help me with this question
https://discuss.codechef.com/questions/121647/question-from-hackerrank

What is the error in my codes ?

https://www.codechef.com/viewsolution/17230356

https://www.codechef.com/viewsolution/17351891

Laddu Earning for 100% attendance participation reward - unattainable for many non-Indian users.

While the participation award is a very good way for regular users of CodeChef to earn Laddus, I was disappointed to see that the required monthly LTIME contests are being run at a time that makes 100% attendance almost impossible for many non-Indian CodeChef users. For example, here in Sydney Australia, LTIME is run at 3am-5:30am local time! While I might set the alarm clock to do coding at 4am occasionally, doing so every month for 12 contiguous months is practically impossible.

Is ther any chance of offering a new CountryWise reward for non-Indian users that only requires 100% attendance of the Long and Cook-off comps for 12 months? Maybe for a reduced amount of Laddus (eg. 500)?

could help me here??? i am new to dynamic programming,i tried my best but…it looks like i am wrong somewhere. it couldn’t be that elements are added which are already used, because i removed that element and sent the list excluding that element. help

Can anyone tell how quick to learn react native - any ideas?

I am Having My code accepted By the CodeChef Compiler, I tried Different Test Cases Still not accpeted
Question Level-Beginner (Lead Game Question)

Question–> TLG Problem - CodeChef
My Submission → CodeChef: Practical coding for everyone

Hello everyone!

I was working on a problem, MINEAT(CodeChef: Practical coding for everyone) from March Long challenge div2, MARCH18B. I think I have solved the problem correctly, but fail to pass all the tests.

Other than Wrong answer, I am facing TLE error as well. Can anyone discuss on the edge test cases and suggest solution to bypass TLE error?

PS: I will add my code for review, once the challenge is over.

Thanks in advance :slight_smile:

can someone explain me MINEAT PROBLEM, i saw the successfull submission but fails to under, why they did sorting of the array?

(CodeChef: Practical coding for everyone)

Editorial

Is there any editorial to the problem STRIMPOR of ZCO 2018. If there is, can somebody please share the link?

Thanks In advance

Hi,

I recently participated in March Cook-off Div2 (contest link). In the rating graph I can see that my rating increased by 114 to 1901 but my main profile is still showing the old rating (1787) and 3 stars (I should have 4 stars now). Can you pls take a look and resolve this?

You can see this on my profile here - mayank_kool

Hi

Don’t know if this is the right place but I haven’t gotten my laddus for the March long contest. When will they be distributed? Got place 6 on div 1.

There is problem in submission in this problem FLOW007 Problem - CodeChef and gives me compile time error and i used StringBuilder Class ( and it’s reverse function in the program) and this works fine on JRE
and when i click on compile time error to see what’s the error, it gives this “There was an error while serving this page. Please try again after some time”

why code has been removed, that question (code) wasn’t related to any competition question?
Is there any restriction on doing that??

1 Like

Help Required In Submitting Code In Python, It gives NZEC Error while submitting, can’t find the solution!!

Problem: HS08TEST Problem - CodeChef
My Solution: CodeChef: Practical coding for everyone

Thanks In Advance :slight_smile:

1 Like

There is no problem with the code, but it still gives nzec why? I am beginner in python
I can’t find any problem according to my question asked!!!

Help Pls And Thanx in Advance

1 Like

Problem : Neil And Arrays Neil is a CSE guy and loves arrays.One day he found an interesting challenge on arrays and he needs your help.Given an array… Make another array a such that 1<=a[i]<=b[i], where b is the given array. Let S= sum of abs(a[i]-a[i-1]) for all i=2 to n You need to find the maximum possible value of S and print it on stdout.

InputFormat: First line containing an integer T, number of TestCases. Each Testcase contains two lines.On the First line N, number of elements in array b.Second line contains the array b.

Constrains: 1<=T<=20 1<=n<=10^5 1<=element in array<=1000

OutputFormat: maximum possible value of S

Sample Input: 1 5 5 10 15 20 25

Explanation: A=[1,10,1,20,1]

Sample Output: 56

How to approach this question?

1 Like

about the 100% attendance ladoos, do i strictly need to participate in 36 rated contests(if some of them over a 12 month period are cancelled) or i just need to participate in all the three monthly rated contests and it doesn’t matter if they are cancelled or unrated, at the end of 12 month period i will still receive codechef ladoos

1 Like

Why my solution to google codejam 2018 qualification round’s first problem failed for test set 2

I am a beginer in the competitive programming. I have participated in the google codejam this year for the first time. My solution to the first problem(Saving the Universe Again) passed test set 1 but failed for test set 2. According to analysis given in the codejam contest site it seemed correct to me and should pass for test set 2 too. Can’t understand why it was failed. Will be grateful if someone point out my error or point out what would be the best solution to this. Here is my solution to the problem.

Thanks.

1 Like