Pure Programmer
Blue Matrix


Cluster Map

Project: Universe Size

Given that the universe is about 14.26 gigaparsecs in any direction, compute this width of the universe in meters. A [[gigaparsec]] is one billion (10⁹) parsecs, a [[parsec]] is approximately 3.261563777167433562 light-years and a [[light-year]] is 9,460,730,472,580,800 meters exactly. Use named constants where appropriate.

Output
$ swiftc UniverseSize.swift -I . -L . -lUtils error: link command failed with exit code 1 (use -v to see invocation) ld: library not found for -lUtils clang: error: linker command failed with exit code 1 (use -v to see invocation)

Solution