Jatana / FastOlympicCoding

Tools for competitive programming for Sublime Text 3 & 4
390 stars 48 forks source link

automatically omit large I/O #54

Open tiger2005 opened 2 years ago

tiger2005 commented 2 years ago

Sublime Text cannot afford big amount of datas in the editor. When I add a large test and run it, all the editor will lag for a while, then the test input are display in the command. Finally, I get 0ms in the test, but it need to be 0.5s or more.

I think this lag depends on the data displayed in the screen. I hope there can be a "max_test_display_length" settings, so that large tests will be omitted and there will be less lags.

You can learn it from submissions of Codeforces. It only shows a small part of each large test.

tiger2005 commented 2 years ago

Stress mode have this question, too. If we really want to check out the tests, maybe there can be a button, and a new tab with the test can be opened by just a click away.

pwn2ooown commented 2 years ago

Same problem here, it seems that it would become really slow display while dealing with large outputs. Now, if I want to test big data here I would use the freopen command in c++ for huge i/o.