Jatana / FastOlympicCoding

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

parsing test cases from codeforces #14

Open cs-mshah opened 4 years ago

cs-mshah commented 4 years ago

It would be great if this is able to parse the test cases from codeforces via competitive-companion and we can quickly check the output. Also, it would be great if we are able to submit from within sublime text.

anirudhakulkarni commented 4 years ago

the first one can be done with the help of setup contest option inbuilt with this

abmahfuz commented 3 years ago

How can i setup this setting?

npanuhin commented 3 years ago

@abmahfuz, to setup contest, you need to press Ctrl + Shift + P and select [Cpp]FastOlympicCoding: Setup Contest. The second feature has not yet been implemented.

prabh1601 commented 3 years ago

@npanuhin Can you please elaborate what to do next, because when I do the same it just opens me a new sublime with the name of the contest in the heading. I am not getting how this thing works and where do I need to do what.

Jatana commented 3 years ago

@prabh1601, it creates a new directory with a contest and opens a new sublime window with this directory. You can observe all files in the sidebar. To open the sidebar press ctrl+k, ctrl+b or cmd+k, cmd+b, or go to View -> Side Bar -> Show Side Bar.

prabh1601 commented 3 years ago

@npanuhin @Jatana really thanks for it man .. I was just missing this feature without even realizing that what I was missing ...

Jatana commented 3 years ago

@prabh1601, fixed - 9746f2a.

Ajay2908 commented 3 years ago

@Jatana When I am trying to parse a contest it opens a new window and creates files, but when I try to run the code it doesn't give any output any fix for this. Also is there any way to add our own template to those newly created files rather than being empty. Thanks in advance