Блог пользователя MikeMirzayanov

Автор MikeMirzayanov, история, 12 месяцев назад, По-английски

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!

  • Проголосовать: нравится
  • +2095
  • Проголосовать: не нравится

»
12 месяцев назад, скрыть # |
 
Проголосовать: нравится +28 Проголосовать: не нравится

thanks mike

»
12 месяцев назад, скрыть # |
 
Проголосовать: нравится +30 Проголосовать: не нравится

wow! wonderful

»
12 месяцев назад, скрыть # |
 
Проголосовать: нравится +5 Проголосовать: не нравится

Thanks a lot, I was very irritated finding the output case which match with some random input line

»
12 месяцев назад, скрыть # |
 
Проголосовать: нравится +3 Проголосовать: не нравится

Much needed. Ty Mike :D

»
12 месяцев назад, скрыть # |
 
Проголосовать: нравится +4 Проголосовать: не нравится

Thankyouuuu! A very useful feature indeed. No more counting of the number of lines :D

»
12 месяцев назад, скрыть # |
Rev. 2  
Проголосовать: нравится +4 Проголосовать: не нравится

Thank you mike now it will be easy to locate testcases output

»
12 месяцев назад, скрыть # |
 
Проголосовать: нравится +3 Проголосовать: не нравится

yippee

»
12 месяцев назад, скрыть # |
 
Проголосовать: нравится +3 Проголосовать: не нравится

Really convenient, thanks!

»
12 месяцев назад, скрыть # |
 
Проголосовать: нравится +22 Проголосовать: не нравится

orz, by the way I noticed that there is big horizontal scroll when the test case is highlighted (don't know if it is intended)

»
12 месяцев назад, скрыть # |
 
Проголосовать: нравится +3 Проголосовать: не нравится

thankyouuuuu!!!

»
12 месяцев назад, скрыть # |
 
Проголосовать: нравится +6 Проголосовать: не нравится

I noticed this today during the contest, and I was like, "Dude, was this always a thing because I swear I've never seen this. Maybe the contest writers added it somehow".

It's a wonderful addition, thanks

»
12 месяцев назад, скрыть # |
Rev. 2  
Проголосовать: нравится +3 Проголосовать: не нравится

I see this During Contest and that's Amazing.

»
12 месяцев назад, скрыть # |
 
Проголосовать: нравится +3 Проголосовать: не нравится

Was helpful for me. Thanks !

»
12 месяцев назад, скрыть # |
 
Проголосовать: нравится +3 Проголосовать: не нравится

Thank you very much! I think this is a very useful feature, staring for long periods trying to find the correct output for the input really strains my eyes

»
12 месяцев назад, скрыть # |
 
Проголосовать: нравится +3 Проголосовать: не нравится

Tnx for that..it's really helpful..

»
12 месяцев назад, скрыть # |
 
Проголосовать: нравится +3 Проголосовать: не нравится

Thank you so much Mike! This will help us a lot. :)

»
12 месяцев назад, скрыть # |
 
Проголосовать: нравится +1 Проголосовать: не нравится

Mike was grinding FFT for those holy years to make this update

»
12 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

amazing,

thanks mike.

»
12 месяцев назад, скрыть # |
 
Проголосовать: нравится +1 Проголосовать: не нравится

Thanks Mike! Can you also introduce country standings for contests?

»
12 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

W

»
12 месяцев назад, скрыть # |
 
Проголосовать: нравится -13 Проголосовать: не нравится

How Important. especially for the 5000 cheaters who are still free.

»
12 месяцев назад, скрыть # |
Rev. 3  
Проголосовать: нравится 0 Проголосовать: не нравится

this is very good i want to click UpVote on this blog more than 100 :))

i asked to do that since 2 monthes ago and i get -20 on my blog :)

and this is the link : https://codeforces.me/blog/entry/144954

today i see this idea on codeforces I am so happy on it :)

thx MikeMirzayanov !!!

»
12 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Thanks a lot.

»
12 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

yep, that's nice

»
12 месяцев назад, скрыть # |
 
Проголосовать: нравится +136 Проголосовать: не нравится

I think there is a bug for the problems which has 2 or more examples

For instance, 2139E2 - Maple and Tree Beauty (Hard Version)

»
12 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

thanks mike!

»
12 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

This feature is applied for the questions after the recent edu round or even the problem's that are before edu round?

Cuz I was unable to see the highlighting for output on this question:recent DIV 4 E

»
12 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

YAAAAASSSSSSSSSS

»
12 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Thanks a lot, I have been missing this feature for a while.

»
12 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Thank you so much, can you share how to do it?

»
12 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

yeah i could feel the change , thanks a lot

»
12 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

This is very useful because when 6-7 sample test cases are given, then it becomes hard to match output line with input line, especially in constructive problems. Really thanks for this feature.

»
12 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

goated

»
12 месяцев назад, скрыть # |
Rev. 3  
Проголосовать: нравится 0 Проголосовать: не нравится

.

»
12 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

This feature looks really neat!

»
12 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Much needed addition, gonna save time hopefully

»
12 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

I think this was from https://codeforces.me/profile/sigpipe's post.

Very cool, thanks!

»
12 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Pretty useful. It really helps out!

»
12 месяцев назад, скрыть # |
 
Проголосовать: нравится +26 Проголосовать: не нравится

dark mode

»
12 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Thanks Mike!!!

»
12 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Thanks Mike! orz

»
12 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Wow! thanksss.

»
12 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Very helpful thx

»
12 месяцев назад, скрыть # |
 
Проголосовать: нравится +1 Проголосовать: не нравится

Nice feature!!!

»
12 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

orz

»
11 месяцев назад, скрыть # |
Rev. 2  
Проголосовать: нравится 0 Проголосовать: не нравится

i was always wondering why the input is only highlited not the output also! btw nice && perfect feature

»
11 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

how about a dark theme? The light one is fine but dark one would be great. Or is there one already?

»
11 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

thanks very much

»
11 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

what is custom output?

»
11 месяцев назад, скрыть # |
Rev. 2  
Проголосовать: нравится 0 Проголосовать: не нравится

I have encountered a couple bugs pertaining to this new feature:

  1. Hovering over an input does not change the appearance of the output section for me. In fact, the output section is now one solid color instead of the alternating colors (which were previously used for making distinctions between each sample output). (I have tried this on firefox, chrome, and other chromium-based browsers, all of which have this issue.)
  2. It seems that hovering over an input temporarily sets the document width and height to extraordinarily large values. Upon scrolling while in this state, moving/hovering the mouse over the input will cause the page to sporadically jump between where I last scrolled and back to the top-left of the document (which causes a flickering effect).

If needed, I can provide a video.

»
11 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

These things really make it easy for us, continue please ...

»
11 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Thanks mike! It is now made ease to locate outputs swiftly for any inputs.

»
11 месяцев назад, скрыть # |
 
Проголосовать: нравится -8 Проголосовать: не нравится

add me as a friend to see me sky rocking to lagendary grandmaster in no time.

i have revealed the secret of medalists that no one want to tell you.

i'm just kidding but add me for real :-)

»
11 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

ура

»
11 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

this is useful, thank.

may I request another feature, when our tests fail due to WA, the report only shows that token doesn't match on line number XYZ ..

now if we have this mapping where we know which line of output matches with which input, can we please have wrong submissions show us the input for failed test case

»
11 месяцев назад, скрыть # |
 
Проголосовать: нравится +2 Проголосовать: не нравится

Thank you!! it really helps saving time in contests

»
11 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Thanks!!!

»
11 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Thanks for adding the feature. When I was solving, I faced issue like counting which output is corresponding to which input. Thanks once again.

»
11 месяцев назад, скрыть # |
 
Проголосовать: нравится +3 Проголосовать: не нравится

Vladosiya In the contest that just finished this feature did not work. Is that normal?

»
11 месяцев назад, скрыть # |
Rev. 3  
Проголосовать: нравится 0 Проголосовать: не нравится

Hello MikeMirzayanov,

I had earlier written regarding my handle AkshitKumarSingh being blocked from submissions.
It has now been about more than a week, and I wanted to kindly follow up to check the status.

I also wanted to mention that I am a college student currently taking regular classes in competitive programming.
My Codeforces account is linked with my coursework, and in my classes we are required to submit solutions in C++.
Since my account is blocked for C++ submissions, I am unable to participate fully in these exercises, which is affecting my learning.

I sincerely apologize again for the earlier mistake during Kotlin Heroes Practice 13, and I assure you it will not happen again.
I kindly request if you could review my case and let me know whether the block is temporary or permanent.

»
10 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Hello Mike, My Codeforces account (@kshitiz0709) shows “User is disabled by administrators.” I have also sent you an email requesting clarification. Could you please check it when you have time? Thank you very much for your help and understanding.

»
10 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

The standings page in our gym cannot be opened as a manager, displaying the following message:

'Ooops! Something has broken down in Codeforces. Do not panic, you can try to reload the page or return Home. Anyway we will carefully read megabytes of logs, analyze stacktraces and fix the problem.'

Does anyone know why?

»
9 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Hello, I am unable to send private messages.
Please delete my Codeforces account: Thank you.

»
8 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Hi! Thanks for the sample case highlighting feature—really useful. But for few problems i am unable to observe this feature nowadays like, On contest 2148, problem D, the input↔output hover highlighting doesn’t activate for me (browser: Chrome/Edge, OS: Windows 11). I tried refreshing and disabling extensions, but no luck. Is this the same for others too or is it happening only with me?

»
5 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

well done