×

# Weak Test Cases in May Cook-Off COOK82B (Balanced Array) ,Rejudge?

 8 1 Hello,my wrong solution was accepted in practice of COOK82B. Here are the links to their submissions: Correct solution: link text My Wrong solution: link text Sample input : 2 100000000 123456789 First submission returns 127222027 & Second submission returns 222026111. Both are accepted solutions. asked 22 May '17, 16:18 194●5 accept rate: 14%

 1 Test cases should be added in practice though! answered 23 May '17, 16:07 26●2 accept rate: 100%
 1 Test cases for this kind of errors have been added in the practice. answered 24 May '17, 17:31 2.5k●53●137●170 accept rate: 20% Thanks a lot :) (24 May '17, 18:58)
 1 Even my solution which got accepted gives some different answer than the ones you posted. But I find that my solution is similar to the correct one you have posted, cannot figure out the difference, still different answers. That strange. Solution answered 22 May '17, 19:08 4★lohit_97 342●8 accept rate: 4% 2 Your solution ignores powers which are divisible by n. Example 2 2 6 Output > 9 Answer > 18 PS > My solution is also wrong because of the same mistake. (22 May '17, 19:29) Aha. Thanks for the help. Got the error. Just that to re assign mp.begin() to my iterator. (23 May '17, 17:46) lohit_974★
 0 Submissions which were judged AC during the contest can't be judged WA after the contest. answered 22 May '17, 18:23 1.1k●2●11 accept rate: 10% 1 So this kind of ambiguity will be ignored? (22 May '17, 19:07) 1 @dusht0814 > Rejudging submissions after contest is not a good idea. They can update test cases in practice section. (22 May '17, 19:33)
 0 i think they should allow a 24 hour hacking phase for cases like these :D answered 23 May '17, 01:58 4★capta1n 21●2 accept rate: 0%
 toggle preview community wiki:
Preview

By Email:

Markdown Basics

• *italic* or _italic_
• **bold** or __bold__
• 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:

×161
×46
×26

question asked: 22 May '17, 16:18

question was seen: 729 times

last updated: 24 May '17, 18:58