Skip to content

howsiwei/cups

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage Guide

JavaScript

node cups.js
node cups.js 13 14 2

Ruby

ruby cups.rb
ruby cups.rb 13 14 2

Python

python cups.py
python cups.py 13 14 2
# or
python3 cups.py
python3 cups.py 13 14 2

Java

javac JavaCups.java
# then
java JavaCups
java JavaCups 13 14 2

C

gcc cups.c -o cups
# then
./cups
./cups 13 14 2

C++

g++ cups.cpp -o cups
# then
./cups
./cups 13 14 2

PHP

php cups.php
php cups.php 13 14 2

Go

go run cups.go

Lua

lua cups.lua
lua cups.lua 13 14 2
# or
luajit cups.lua
luajit cups.lua 13 14 2

Haskell

ghc --make -O cups.hs
# then
./cups
./cups 13 14 2

Simulation

open the file ./simulation/index.html with any regular browser

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages