You are not logged in. Please login at www.codechef.com to post your questions!

×

Suspicion about Chef and Circle run problem of August Long challenge

I'm damn sure that my code gives 100% accuracy for any kind of input... But unfortunately.. mine is able to manage to pass only subtask 1 to get just 20 points.. And surprisingly, all the cases of remaining subtasks are getting WA verdict.. How come?? What I wanna know by asking this question is how the online compiler of codechef will evaluate our codes?? All the cases in one subtask would be considered as 1 single test case??

asked 12 Aug '16, 01:13

kishu_invain_1's gravatar image

2★kishu_invain_1
1117
accept rate: 0%


It often seems that our solution is correct even though its not the case. Only later we find out that there is some stupid mistake. There could be many reasons that you are able to pass 1st subtask but not the later ones. Few of them being not handling large integers properly or maybe the test cases of 1st subtask is not able to find out the incorrectness of your code (could be called weak test cases). So, I would suggest you to review your code once again.

link

answered 13 Aug '16, 02:00

shubhiks's gravatar image

4★shubhiks
732312
accept rate: 0%

No.. I've been debugging it for 3 days.. nothing wrong with my code.. I checked it with each and every corner case possible.. and as you said.. improper handling of larger integers might be the reason... so, not to get these kind of errors i declared each and every variable i used as long long..

(13 Aug '16, 08:46) kishu_invain_12★

Your code must have few things missing in it that is why everyone code is showing WA verdict. for coding just search for an online Dissertation help from any expert coder he will guide you what’s the problem.

link

answered 12 Aug '16, 17:25

kendalljenner's gravatar image

0★kendalljenner
-1
accept rate: 0%

i am also getting the same problem. but i can pass only 2 subtasks and and in the rest i am getting WA verdict plz take necessary actions..i am also sure about my code

link

answered 13 Aug '16, 01:10

digv171296's gravatar image

4★digv171296
1
accept rate: 0%

toggle preview
Preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported
  • mathemetical formulas in Latex between $ symbol

Question tags:

×397
×374
×72

question asked: 12 Aug '16, 01:13

question was seen: 1,973 times

last updated: 13 Nov '18, 20:16