In Problems Statements, Examples Are Now Highlighted if Test Cases Are Used

Правка en4, от MikeMirzayanov, 2025-09-17 17:12:04

Hi, Codeforces!

Remember this post https://codeforces.me/blog/entry/105779 about highlighting test cases in example inputs?

Well, with a quick push, Vladosiya and I have now added support for highlighting cases in the outputs as well. On hover (or tap on mobile), the corresponding input and output cases even get highlighted together. Look at this beauty:

There's still a bit of polishing needed for situations when authors add custom outputs or in some other unusual scenarios, but the basic functionality is already there and ready to use.

Enjoy the upcoming rounds!

Теги codeforces, highlighting, examples, outputs

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en6 Английский MikeMirzayanov 2025-09-17 17:12:41 0 (published)
en5 Английский MikeMirzayanov 2025-09-17 17:12:24 16
en4 Английский MikeMirzayanov 2025-09-17 17:12:04 6 Tiny change: 'mg style="max-width=200px;" sr' -> 'mg style="width:200px;" sr'
en3 Английский MikeMirzayanov 2025-09-17 17:11:49 22 Tiny change: 'mg style="scale:0.75" src="/pr' -> 'mg style="max-width=200px;" src="/pr'
en2 Английский MikeMirzayanov 2025-09-17 17:11:32 19 Tiny change: 'ter><img src="/pre' -> 'ter><img style="scale:0.75" src="/pre'
en1 Английский MikeMirzayanov 2025-09-17 17:10:58 776 Initial revision (saved to drafts)