Why nearly every problem in codeforces has multiple test cases?

Правка en1, от liboya5074, 2025-08-03 04:57:29

I recently realized that nearly all problems in codeforces have multiple test cases in a single test, which makes my code ugly and annoying.

I wonder why codeforces set multiple cases in a single test?

I know some OJs will do this because they don't have better machine to run many divided cases. But it is obvious that codeforces' judger runs well.

In some contest rules they set multiple cases in order that participants can't get unexpected points through tricks, like presenting only "Yes" or "No", or print a random number. But codeforces' rule doesn't work like this.

So is it a tradition to do so or for other reason?

Теги test case

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский liboya5074 2025-08-03 04:57:29 705 Initial revision (published)