https://github.com/engineer2b/tomra
Repository for the TOMRA stage 1 vacancy challenge
https://github.com/engineer2b/tomra
Last synced: about 1 year ago
JSON representation
Repository for the TOMRA stage 1 vacancy challenge
- Host: GitHub
- URL: https://github.com/engineer2b/tomra
- Owner: Engineer2B
- Created: 2014-12-14T20:44:01.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-12-14T22:24:06.000Z (over 11 years ago)
- Last Synced: 2025-05-20T16:17:40.427Z (about 1 year ago)
- Language: Java
- Size: 1.45 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

=====
## System requirements
To be able to execute the jar file "calculateStatistics.jar":
* The input must be located in the input directory (see **[Input folder](#input-folder)** for details).
* Java SE Runtime Environment 8 must be installed.
## Usage instructions
Follow the following steps to run the code:
1. Shift+right-click somewhere in the directory named TOMRA, i.e. the top-level directory.
2. Select "Open command window here" to open a console window in this directory.
3. Type `java -jar calculateStatistics.jar "$NameFile.txt"` where
`$NameFile` is the name of the file located in the input directory
(see **[Input folder](#input-folder)** for details).
4. Provided all the steps were followed and the requirements are met, the output will be printed to the console window.
## Input folder
The input must be stored on a single line in a .txt file in the folder `./input`.
## Input format
The input file will have the following format `[$,$,$]` or `$,$,$` where `$` is a number.