https://github.com/farnazmnz/spacecraft
a spacecraft, which has successfully completed its exploration mission, is going to return to planet Earth, and for this it must pass through a number of meteorites. Help it evaluate the results of its decisions
https://github.com/farnazmnz/spacecraft
Last synced: 3 months ago
JSON representation
a spacecraft, which has successfully completed its exploration mission, is going to return to planet Earth, and for this it must pass through a number of meteorites. Help it evaluate the results of its decisions
- Host: GitHub
- URL: https://github.com/farnazmnz/spacecraft
- Owner: farnazmnz
- Created: 2022-08-08T15:55:10.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-08T16:17:30.000Z (almost 3 years ago)
- Last Synced: 2025-01-18T07:32:08.260Z (5 months ago)
- Language: Java
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spacecraft
a spacecraft, which has successfully completed its exploration mission, is going to return to planet Earth, and for this it must pass through a number of meteorites.
Help it evaluate the results of its decisionsinput:
first line : the number of meteorites , coordinates of each one and their constant speed.
second line : the places where the speed changes and the speed of the spacecraft are given after that.
output:
output must be made for each unit that the spacecraft travels. First, the time (t), then the coordinates of the ship (R) and after that
The coordinates of the meteorites (Mi) should be printed and the status of the spacecraft (crashed/safe) should be checked.
