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

Автор rajiv_kale, история, 5 лет назад, По-английски

I am using the following code to generate TC for hacks for question E of round 640 but the hacking verdict is generator crashed. What does it mean and where I am going wrong.

Link of the crash log https://imgur.com/alUVkUY

from random import randint as rd
print(10)
for i in range(10):
	print(800)
	for j in range(799):
		print(rd(700,799),end=' ')
	print(rd(700,799))
			
  • Проголосовать: нравится
  • +11
  • Проголосовать: не нравится

»
5 лет назад, # |
Rev. 2   Проголосовать: нравится +10 Проголосовать: не нравится

"Generator crashed" means that your generator (the program you use to generate the test case)... crashed. You can test your code here or click on the underlined "Generator crashed" text to see what the error was.

»
5 лет назад, # |
Rev. 2   Проголосовать: нравится +26 Проголосовать: не нравится

Dammit, now you're even taking help from masters to specifically hack my codes. Just kidding, but you did use this to hack my code. Thanks for the link galen_colin.

  • »
    »
    5 лет назад, # ^ |
      Проголосовать: нравится +8 Проголосовать: не нравится

    Sorry :(

    although to be fair, there were so many successful hacks, it probably would have failed during system testing