Cosmic Path Optimization

Question

Solution

Idea

This is a huge funny question, don't feel panic because of the physics content in the question. It is nothing but a simple math problem about getting the average, nothing to talk about.

Code

https://github.com/mendax1234/Coding-Problems/blob/main/kattis/cosmicpathoptimization/cosmicpathoptimization.c

Last updated