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

Revision en2, by MikeMirzayanov, 2025-09-17 17:11:32

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!

Tags codeforces, highlighting, examples, outputs

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en6 English MikeMirzayanov 2025-09-17 17:12:41 0 (published)
en5 English MikeMirzayanov 2025-09-17 17:12:24 16
en4 English MikeMirzayanov 2025-09-17 17:12:04 6 Tiny change: 'mg style="max-width=200px;" sr' -> 'mg style="width:200px;" sr'
en3 English 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 English MikeMirzayanov 2025-09-17 17:11:32 19 Tiny change: 'ter><img src="/pre' -> 'ter><img style="scale:0.75" src="/pre'
en1 English MikeMirzayanov 2025-09-17 17:10:58 776 Initial revision (saved to drafts)