FastOlympicCoding icon indicating copy to clipboard operation
FastOlympicCoding copied to clipboard

parsing test cases from codeforces

Open cs-mshah opened this issue 5 years ago • 8 comments

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.

cs-mshah avatar Jan 17 '20 12:01 cs-mshah

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

anirudhakulkarni avatar Jun 10 '20 18:06 anirudhakulkarni

How can i setup this setting?

abmahfuz avatar Sep 26 '20 15:09 abmahfuz

@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.

npanuhin avatar Sep 26 '20 16:09 npanuhin

@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.

prabh1601 avatar Oct 18 '20 19:10 prabh1601

@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.

Jatana avatar Oct 18 '20 19:10 Jatana

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

prabh1601 avatar Oct 18 '20 20:10 prabh1601

@prabh1601, fixed - 9746f2a.

Jatana avatar Oct 19 '20 23:10 Jatana

@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

Ajay2908 avatar Nov 25 '20 18:11 Ajay2908