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

Agreed. Should have more easy questions for the beginners.

1 Like

Thank you for the feedback. We do try to make the problem set balanced, and we’ll improve.

But taking statistics from a contest which was stopped mid-way seems a bit weird. Of course the first problem is going to have a disproportionate number of ACs, because unfortunately, the contest got disrupted very early into the contest, and most participants would have just submitted the first problem. This is not to claim that the problem set was perfect, but just saying that the evidence put forth seems off :slight_smile:

Again, we apologize sincerely for the mess, and hope you enjoy solving them in practice!

3 Likes

Got it, thanks!

Thank you for acknowledging the feedback :), that was the whole point of my post, not just an empty rant. I am glad to see you appreciate the community and are trying to improve. Full steam ahead! :slight_smile:

i am trying to solve beautiful arrays question. in IDE the input i gave (in accord to format) gives right output , but my answer is shown wrong. can i see (at least some of them) test cases (my code gives right output for test cases provided on site)? Here’s the link: https://www.codechef.com/viewsolution/13978678

your code fails for this testcase

1

5

-1 1 1 -1 1

your ouput:no

Expected output:yes

1 Like

Will the problems solved in the recent snackdown pre-A, pre-B rounds be added to my “recent activity”?
It shows practice problems solved, so even though those contests are unrated I was hoping to see them there (just to keep track). Thanks!

Can I ask questions regarding modifications required in the code?

This question needs more details to be complete.

modification of which code? The code given in editorial, or “modifying and debugging my code to help me fetch AC” ?? OR any other interpretation?

If solved in practice, they should be added. If during contest, then i am not sure (although answer inclines to a no). Anyways, its more of a question you should ask via mail to admins.

SNAKGRAPH SNPB17 https://www.codechef.com/problems/SNGRAPH
Can any one tell for which test case my code fails?https://www.codechef.com/viewsolution/13974266
please tell also about self loop (GIVEN IN CONSTRAINT).

How to optimize this kind of loop
for(i=0;i<**la;**i++)
for(j=0;j<lb;j++)
for(k=0;k<lc;k++){\code}

Self loop means a node having edge to itself i.e edge from ‘u’ to ‘u’.

Multi edges meaning There exists more than two edges from Node ‘u’ to node ‘v’.
Input:

1

5 5

1 2

2 3

2 4

4 5

1 5

Correct Output:

0 1 4 4 4

Your Output:

-1 0 4 4 4

It depends on what you are trying to do, so missing details doesn’t help.

Also this seems to be a problem from the June17 Long challenge, so it’s good that you missed the details and keep it that way :slight_smile:

As the problems were submitted on the behalf of your team, and not as you.
It won’t be added to your “recent activity”.

Thanks divyansh for helping him out :slight_smile:

Always happy to help :slight_smile:

1 Like

can anyone explain dis problem statement with example cases clearly…https://www.codechef.com/JUNE17/problems/NEO01/

Ask this at comment section of problem. If its not violating rules, problem setter oughts to reply. Admin says that problem shouldnt be discussed on discuss while contest is live…

The editorials for snackdown should be available soon. If they dont come up after 24 hours from now, i will upgrade it into a question :slight_smile: