test case generation

how do the problem setters/testers generate test case?
Is it by done by using some random procedures or by manually?

it is both random as well as manual!!!

manual cases are mostly the tricky ones which may lead to WA or TLEs due to common mistakes made by the coders or maybe due to faulty algorithms!!!

random ones are large cases that are used to see if the algo can run within the given time constraint!!!

hope this helps…:slight_smile:

1 Like

You can read more here: FAQ for Problem Setters | CodeChef