Блог пользователя yeputons

Автор yeputons, 12 лет назад, По-английски

Hello everyone.

Right now I'm settings up APIO 2011 contest for training purposes. It seems to me like test data (answers, to be precise) in problems 'Guess My Word' and 'Table Coloring' are broken. I have three solutions from three different people for the latter problem and they produce the same answers for tests 10, 12, 14, 16 and 18 — zero, while the reference answer is non-zero. For the 'Guess my Word' problem I have two solutions: one fast and one brute-force with memoization which I wrote by myself several minutes ago. These two solutions produce same output on tests 1-16, but they both produce 'No' on some test cases where official test data says 'Yes'.

Does anyone have information about validity of this test data or some solutions which I can test with too?

Thank you.

  • Проголосовать: нравится
  • +17
  • Проголосовать: не нравится

»
12 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

..answers, to be precise?

»
12 лет назад, скрыть # |
 
Проголосовать: нравится +3 Проголосовать: не нравится

Checked mine and outputs for test 10, 12, 14, 16, 18 are all zeroes (downloaded a couple of weeks after the contest ended). Do you want to take a look at it?

»
12 лет назад, скрыть # |
 
Проголосовать: нравится +3 Проголосовать: не нравится

You can try your solution of 'Table Coloring' here.

The 'Hint' section on the above page said test data was fixed by sevenkplus, it is possible offical datas are broken.

»
12 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

The test data for the problem 'Table Coloring' from the actual contest was found to be incorrect and a corrected archive was sent out to team leaders some time later, however the actual test data on the website was only updated very recently (due to this post).

There were no similar notices for 'Guess My Word', but since very few people have attempted the problem, it may be the case that the errors are yet still undiscovered.

I do have an unverified solution that passes the official tests. If you send me your solutions or output, I can take a look.

»
7 лет назад, скрыть # |
 
Проголосовать: нравится +10 Проголосовать: не нравится

problem Guess My Word

I have spent several days and find official test cases says Yes as soon as the characters under the line is n+1 no matter if there is a valid word last..(original problem test cases)

but on bzoj : https://www.lydsy.com/JudgeOnline/problem.php?id=2305 some one has added 10 another stronger tests for these 10 cases(C==20 for all of them,original tests there is no tests C==20).it says No when characters under the line is n+1 if there is no valid word last. I got AC by write two kind of reading comprehensions for these two kind of test cases