fork download
  1. /* package whatever; // don't place package name! */
  2.  
  3. import java.util.*;
  4. import java.lang.*;
  5. import java.io.*;
  6.  
  7. /* Name of the class has to be "Main" only if the class is public. */
  8. class Ideone
  9. {
  10. public static void main (String[] args) throws java.lang.Exception
  11. {
  12. // your code goes here
  13. }
  14. }
Success #stdin #stdout 0.12s 54608KB
stdin
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Imaginary Map</title>
  <style>
    body {
      margin: 0;
      padding: 0;
      background-color: #f0f0f0;
    }
    .map {
      width: 800px; /* Adjust as needed */
      height: 600px; /* Adjust as needed */
      margin: 50px auto;
      border: 2px solid #000;
      position: relative;
    }
    .country {
      position: absolute;
      font-size: 12px;
      font-weight: bold;
    }
    /* Define borders for countries */
    /* You would need to adjust these coordinates to match your imagined borders */
    .kashmir {
      top: 100px;
      left: 100px;
      width: 300px;
      height: 200px;
      background-color: #c0c0c0;
    }
    .central-asia {
      top: 50px;
      left: 450px;
      width: 300px;
      height: 300px;
      background-color: #a0a0a0;
    }
    /* You can add more country styles as needed */
  </style>
</head>
<body>
  <div class="map">
    <div class="country kashmir">Kashmir</div>
    <div class="country central-asia">Central Asia</div>
    <!-- Add more country divs as needed -->
  </div>
</body>
</html>
stdout
Standard output is empty