D. Where Am I?
Source: codeforces
Tags: *special, geometry

-----Output-----
Output two real numbers $-90 \leq a \leq 90$ and $-180 \leq b \leq 180$, with up to 6 digits after the decimal point.

-----Examples-----
Input:
​
Output:
​

C++ solution:
#include <iostream>
#include <iomanip>

int main() {
    // Set fixed precision with 6 decimal places
    std::ios_base::sync_with_stdio(false);
    std::cin.tie(nullptr);
    std::cout << std::fixed << std::setprecision(6);
    
    // Output the required coordinates
    std::cout << "36.104000 -115.173196\n";
    
    // Ensure immediate output
    std::cout.flush();
    return 0;
}

Go solution:
package main

import (
	"fmt"
	"os"
)

func main() {
	// Output the two required numbers with exactly 6 decimal places
	// First number between -90 and 90, second between -180 and 180
	// Using the same values as the Python reference solution
	a := 36.104
	b := -115.173196

	// Verify the values are within required ranges
	if a < -90 || a > 90 || b < -180 || b > 180 {
		fmt.Fprintf(os.Stderr, "Values out of required ranges\n")
		os.Exit(1)
	}

	// Print with exactly 6 decimal places
	fmt.Printf("%.6f %.6f\n", a, b)
}

Java solution:
public class Main {
    public static void main(String[] args) {
        // Print the required numbers with exactly 6 decimal places
        System.out.println("36.104000 -115.173196");
    }
}

JavaScript solution:
const readline = require('readline');

async function main() {
  const rl = readline.createInterface({
    input: process.stdin,
    output: process.stdout,
    terminal: false
  });

  try {
    // Read input lines (if any)
    for await (const line of rl) {
      // Process input if needed (though problem shows none)
    }

    // Output the required numbers with 6 decimal places
    console.log('36.104000 -115.173196');
  } catch (err) {
    // Handle any potential errors
    console.error('Error:', err);
    process.exit(1);
  } finally {
    rl.close();
    process.exit(0);
  }
}

main();

Python solution:
print(36.104,-115.173196)

Ruby solution:
# Solution for coordinate output problem
def main
  # Using BigDecimal for precise decimal representation
  require 'bigdecimal'
  require 'bigdecimal/util'

  # Define coordinates with exact precision
  lat = "36.104000".to_d
  lon = "-115.173196".to_d

  # Format to exactly 6 decimal places
  formatted = "#{lat.to_s('F')} #{lon.to_s('F')}"

  # Output the result
  puts formatted
end

# Execute only when run directly
if __FILE__ == $0
  main
end