Skip to content

SP-DIT/kattis-code-stub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kattis Code Stubs

SP-DIT - kattis-code-stub stars - kattis-code-stub

Contribution guide

  1. Fork the repository forks - kattis-code-stub
  2. Choose a problem to convert in the issues list and assign it to yourself issues - kattis-code-stub
  3. Create a branch for each challenge
  4. Duplicate an existing challenge
  5. Rename the folder (Note: Ensure that folder name matches the id of the challenge on Kattis)
  6. Use Hackerrank's DSL to code stub feature to generate.
  7. Update the files accordingly
  8. Open a pull request

Testing the code stubs

Start by opening terminal in the respective folder. For example, if testing gasstation:

cd gasstation

1. On Window's powershell

Get-Content input.txt | node stub.js > output.txt

2. On Window's command prompt and MacOS Terminal

node stub.js < input.txt > output.txt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •