Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

How to run the code: 
Write in the terminal "java .\BulbsProblem.java file", where the file is the name of a txt file containing the configuration of the bulbs in the right format, ending in .txt.

The code returns an error if the file doesn't exist, or is wrong.
If all bulbs cannot be lit up, the code writes a message saying that and goes further to evaluate how many bulbs can be lit up at the same time, this evaluation doesn't happen if all bulbs can be lit up at the same time.

About

Project in Java for Algorithmic course

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages