Skip to content

sigurdthor/triangle-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Triangle calculator

Program calculates minimal triangle path and can be executed by following instructions:

  • Sbt run(from root directory)
   sigurd@sigurd:~/projects/triangle-calculator> sbt run 

Put triangle into sbt stdin e.g.

   1
   2 4 
   3 6 8
   EOF

Important: each input should be finished by EOF

  • Use already built jar in bin directory or build your own by sbt assembly command
   sigurd@sigurd:~/projects/triangle-calculator> cat << EOF | java -jar | java -jar bin/triangle-calculator-assembly-1.0.jar

Put triangle into stdin as in previous example

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages