Improving problem statements — adding invalid input examples.

Правка en1, от muxecoid, 2021-06-22 11:56:17

For quite some time I am using codeforces for candidate screening in job interviews.

One common suggestion to improve problem statement clarity is to add examples of invalid inputs to problems with constrains.

For example in this problem: 1469A - Regular Bracket Sequence
The following examples could be used

Too many braces

  1
  (())

Not enough braces

  1
  (????????????????

Input overly long

  1337
  .....
  .....
  .....
Теги #codefoces, #meta, #statement

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский muxecoid 2021-06-22 12:18:38 248 Explain why problem was misunderstood by some readers
ru3 Русский muxecoid 2021-06-22 12:03:56 2 Мелкая правка: 'ть читабелбнось услов' -> 'ть читабельнось услов'
ru2 Русский muxecoid 2021-06-22 12:03:06 102
ru1 Русский muxecoid 2021-06-22 12:01:57 633 Первая редакция перевода на Русский
en1 Английский muxecoid 2021-06-22 11:56:17 550 Initial revision (published)