Would it be possible for the author of CHEFNIL (or somebody else) to share the piece of code that is used to calculate the score of a solution?
I’m asking for this because I wrote a program which generates two possible solutions, computes the sum of points for both, and outputs the one with a larger sum. When I change the program to output just the first of those solutions (and ignore the second), the score of my submission goes up, and I can’t make sense of why this is happening.
I am new to codechef and i don’t know how to add constraints mostly given as sub-task2 in codechef problems i tried using the conditional statements but it is still showing sub-task-2 failed
some of my submission are:
Is it legal to ask questions related to codeforces problem set (practice) on codechef?
As both are coders platforms! Initially i started coding for the first time at codechef but was scared so someone suggested me solving on codeforces and i feel more comfortable there because you can see your failing test cases there.
I have a Question. If you are topmost coder of Codechef but you have 0 karmapoint then can you ask question or Not ? Is it fair to decide only according to karmapoints and not your rank and rating?
First off thanks for doing this, because I have questions. How do I get better at understanding the problems? I am doing beginner and just read the problem and want to claw my eyes out because I have no clue what they are asking. Is there a trick to getting better at it?
Can anyone tell me why my solution for problem LRQUER from november lunchtime is giving wrong answer on subtask #2 but correct answer on subtasks #1 and #3. CodeChef: Practical coding for everyone
While using Codechef IDE, I noticed a bug. If a line is selected and Ctrl + / is pressed then, in general for other languages (I checked for C, C++ 6.3, C++ 17, PYTH, PYTH 3.5) the lines get commented out. But for PYPY, just a // is put before the lines, which is definitely not commenting out in case of PYPY.
Can you please check this and inform @admin if it is truly a bug (in case she does not notice).