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

×

Just reevaluate MIKE3

32
6

For following test case my code http://www.codechef.com/viewsolution/3532424 gave wa but its accepted ...after some modification i resubmit a new code that give right ans and accepted.

please check for test case

62 20
4 10 12 16 18 
3 12 21 23 
5 21 25 27 28 29 
4 28 32 34 38 
4 32 42 45 49 
5 49 52 55 57 62 
6 2 4 6 8 9 10 
8 1 3 4 6 8 9 12 18 
9 2 4 5 9 12 17 21 22 43
1 8 
1 9 
1 20 
1 34 
1 24 
1 5 
1 45 
1 56 
1 3 
1 5 
2 4 8

reevaluate all submitted problem that accepted bcz of weak testing

asked 09 Mar '14, 20:26

maheiitr's gravatar image

5★maheiitr
2.5k162324
accept rate: 25%

edited 13 Mar '14, 17:02

admin's gravatar image

0★admin ♦♦
19.7k350498541

1

this testcase does not follow the constraints btw

(10 Mar '14, 07:35) avastpulkit3★

Ai should be sorted

(10 Mar '14, 09:06) avastpulkit3★
5

now its sorted but same affect on output

(10 Mar '14, 12:04) maheiitr5★

3rd array still not sorted it should be 5 21 25 27 28 29

(11 Mar '14, 15:29) deebhatia3★

Thanks for your help! We have improved our test cases, all successful submits will be rejudged soon.

link

answered 10 Mar '14, 22:56

kostya_by's gravatar image

6★kostya_by ♦♦
166143235
accept rate: 0%

@maheiitr Thank you for honestly posting this. I would suggest you write to feedback@codechef.com about the problem.

link

answered 10 Mar '14, 00:57

kcahdog's gravatar image

3★kcahdog
10.0k2854129
accept rate: 14%

edited 12 Mar '14, 20:52

betlista's gravatar image

3★betlista ♦♦
16.9k49115225

3

yeah i already did that ...:)

(10 Mar '14, 04:04) maheiitr5★

I appreciate your work man - Nice

link

answered 11 Mar '14, 21:27

jangwa's gravatar image

2★jangwa
17229
accept rate: 10%

Exactly. Testcases are weak!

The test cases are not good enough to judge the solution complexity. My guess is that the size of sets is very small in test cases.

link

answered 10 Mar '14, 21:48

ashish1294's gravatar image

2★ashish1294
19615
accept rate: 7%

4

yeah that's why wrong code also accept...:)

(11 Mar '14, 00:49) maheiitr5★

Is the answer 12?

link

answered 10 Mar '14, 22:03

adi1994's gravatar image

4★adi1994
151
accept rate: 0%

4

yeah ans is 12.

(13 Mar '14, 15:36) maheiitr5★

it's a pity , his own solution got WAed on rechecking :-p !!

Keep on working brother, You'll solve it (y)

link

answered 12 Mar '14, 19:53

avastpulkit's gravatar image

3★avastpulkit
85361317
accept rate: 33%

12

its not important that i got wa after rechecking but important thing is learning

(12 Mar '14, 20:41) maheiitr5★
4

In fact this is honourable, he asked for stronger test cases even when his own solution failed...

More contestants like @maheiitr, and because I cannot upvote his question again, I'm giving him some karma...

(12 Mar '14, 20:49) betlista ♦♦3★

How it come 12 ? Mine is showing 11...

link

answered 15 Mar '14, 20:24

ketanmehta's gravatar image

2★ketanmehta
1
accept rate: 0%

-4

what is the correct answer for this test case ?

link

answered 10 Mar '14, 21:53

untraceable's gravatar image

3★untraceable
-3
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:

×87
×9

question asked: 09 Mar '14, 20:26

question was seen: 4,325 times

last updated: 17 Mar '14, 11:53