Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    print q{closest_city(290)="}, closest_city(290), qq{"\n}; 
    print q{closest_city(500)="}, closest_city(500), qq{"\n}; 
    print q{closest_city(5000)="}, closest_city(5000), qq{"\n};
    
  2. or download this
    closest_city(5)="London"
    closest_city(149)="London"
    ...
    closest_city(290)="Rome"
    closest_city(500)="Berlin"
    closest_city(5000)="Berlin"
    
  3. or download this
                  250
                 /   \ 
    ...
         100   200   300  600
          |     |     |    |
      London  Paris  Rome  Berlin