Skip to content

neee/chipset-factory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Calculate amount required factories application

Run

1. Checkout the repo and use master brunch
2. Choose Main class and push Run (required java 11 or later version)
3. Follow steps in a terminal

Other variant you can run with gradle (should be installed)

./gradlew run

Env

  • Better IDE IDEA
  • Java 11 or later

Example

Input number of machines (example: 6):
6
Input powers of machines (example: 1 2 4 10 5 6):
1 2 4 10 5 6
Input num of chipset for producing (example: 11):
11
Nr solutions=4
1 10
2 4 5
1 4 6
5 6
Waste=0

Complexity

O(2^n), where n - num of machines

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages