Skip to content

A basic "framework" for running Kattis solution code with Node.js

Notifications You must be signed in to change notification settings

kaziplus/kattis-nodejs-runner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

kattis-nodejs-runner

A basic "framework" for running Kattis solution code with Node.js, to try and mimic the SpiderMonkey engine Kattis uses

How to Use

  • In the /solutions directory, create a directory for your challenge
  • In the created directory, create a solution.js file (you can give it any other name)
  • In the same directory, create an empty in-file.txt
  • Copy and past the sample input from Kattis to your file
  • Write your solution in solution.js; making use of readline and print functions, which we've tried to mimic their simplified forms in NodeJS.

Take Note

Not all ES6 features are supported by the SpiderMonkey engine that Kattis uses (at the time of writing), we will try and document a list here, e.g:

  • Exponential (**)
  • String templating
  • Sets
  • Spread operator (...)

About

A basic "framework" for running Kattis solution code with Node.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published