srijxn's blog

By srijxn, history, 46 hours ago, In English

I've been working on a small open-source CLI project written in Node.JS that I've been dying to show off cause it really took lots of effort. Hopefully, it will be worth for someone.

Feel free to contribute or open an issue! I'll keep adding new features to it. Lmk if you want any features added.

Repo: https://github.com/jinxedbuffer/cfkit

  • Vote: I like it
  • +12
  • Vote: I do not like it

»
44 hours ago, # |
  Vote: I like it 0 Vote: I do not like it

I'm using a powershell script for generating files like yours but it creates given number of files, for example "g 3" creates A.cpp, B.cpp, C.cpp, in.txt, out.txt. Maybe you can update yours like that. Great tool btw :D

  • »
    »
    25 hours ago, # ^ |
    Rev. 4   Vote: I like it 0 Vote: I do not like it

    Hi, thanks for letting me know!

    I have added this feature in the new version v0.1.8. If you want to parse testcases for a whole contest use the cf generate --contest <id> command. It will check for all problems available in the contest and make directories for each of them. I have made this folder structure keeping in mind the ease of using cf judge and text editors too, so users can just cd into the problem folder and run cf judge to check if their code passes all the tests.