An open API service indexing awesome lists of open source software.

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

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 decisions

input:
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.

![image](https://user-images.githubusercontent.com/77280991/183461971-7b95267d-5314-4018-9acc-c602347e180e.png)

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.

![image](https://user-images.githubusercontent.com/77280991/183462054-fbd4b78c-baaa-4816-ae20-9339a4a90c80.png)

![image](https://user-images.githubusercontent.com/77280991/183462351-252aecf3-e885-4a03-9641-914412f03ffd.png)