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

On this recent cookoff, the contest length was 2.5 hours but people have submission times (on just one problem, not a sum) of 4-6 hours. Secondly, some problem had a time limit of 3 seconds but some submissions were 5 seconds. Are those types of stats displayed accurately? Or do those limits not really apply?

can anyone tell me from where i should study to solve questions related to trees and graphs ???

How to guess whether code will run in given time or not or will run for specific input (such as large size array)?

In the question Lazy Jem, I cant get outputs like 131351258112.I’m programming in C.Can anybody please teach me how to store large numbers in an array? Please help me.

https://www.codechef.com/viewsolution/15482446.This is my attempt at Discrepancies in the Voters List.I’m getting a TLE.Please help me!!.This is urgent.(for me)

I’m a beginner at java. I wanted to know how the nextLine() Method discards your current input? For example assume the following code:

{
Scanner input = new Scanner(System.in);

int a = input.nextInt();

input.next();
}

After the input.next() is executed, the value in “input” is discarded. I wanted to know how does it work?

pls help guys

can anyone please tell me whats wrong with my code?

problem: FLOW007 Problem - CodeChef

my code: CodeChef: Practical coding for everyone

thx in advance.

HI all,how to report for this question?
The picture in the question is not showing.

Question

can anyone please tell me whats wrong with my code?

problem : PRB01 Problem - CodeChef

code: CodeChef: Practical coding for everyone

can anyone tell me what wrong in my codes?

  1. problem : HEADBOB Problem - CodeChef
    CODE: CodeChef: Practical coding for everyone

  2. (got 40 points) problem: SMPAIR Problem - CodeChef
    CODE: CodeChef: Practical coding for everyone

In the score based ranking system(in Long Contests), whose name appears first in case of ties?? I know it doesnt matter as ranks are similar, just asking out of curiosity coz its neither alphabetical wise nor rating wise.

@divyansh_gaba7

Okay, I see the issue. Send them a screenshot of your payment (the one with UTR number as well). That will safeguard you against ALL such issues, and will be your proof that you did payment on time [hence they will HAVE to accept.]

Most probably, the delay is expected, but yeah, do take the precaution and send them a screenshot. Hope your issue gets resolved soon :slight_smile:

EDIT: I suspect that the delay is because 15th Oct was the last date. If they’re saying that it will take 3-4 days, the I think its ok, there shouldnt be any issues. Just make yourself “Safe” and “foolproof” by sending a screenshot as well. I have heard it worked very well (I got accepted in an hour after sending the screenshot). The thing is, there can be mistake while typing your UTR number, or perhaps what you copy-pasted isnt the UTR number but something else (like reference number etc.). To safeguard against these fallacies, its better to send a screenshot.

1 Like

https://www.codechef.com/CODP2017

The problems in the above contest are copied from codeforces and hackerrank.

Even problem statments are not changed, so simply googling the statement would fetch you the code.

I am not expecting comments like “a honest coder would not copy” and statements like that.

Thank you.

While performing the Modular Arithmetic Operation (A%B) : Why is B Usually Given as a prime number ?

What is error in my code?

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

I am getting run-time error. I tried too much to find where i am getting this but failed.
please help me. this is my code–>
this is Octomber lunchyime problem 2 MAXNUM3
https://www.codechef.com/viewsolution/15994545
thank you

Can someone explain what WA means for executing the codes for the contest. I won’t ask for help with the code. I just want to know how the competition works and how does the code execution take place for checking my answer submission. Thanks.

can anyone tell me error in my code?
question: LCH15JAB Problem - CodeChef
my code : CodeChef: Practical coding for everyone

Please upvote this comment. I want to get reputation points.

1 Like

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.