#include <stdio.h>
void go_south_east(int* lat, int* lon)
{
*lat = *lat -1;
*lon = *lon - 1;
}
int main()
{
int latitude = 32;
int longitude = -64; //com N
go_south_east(&latitude, &longitude);
printf("Avast! Now at: [%i, %i]\n", latitude
, longitude
); return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiAKICAgIHZvaWQgZ29fc291dGhfZWFzdChpbnQqIGxhdCwgaW50KiBsb24pCiAgICB7CiAgICAgICAgKmxhdCA9ICpsYXQgLTE7CiAgICAgICAgKmxvbiA9ICpsb24gLSAxOwogCiAgICB9CiAKICAgIGludCBtYWluKCkKICAgIHsKICAgICAgICBpbnQgbGF0aXR1ZGUgPSAzMjsKICAgICAgICBpbnQgbG9uZ2l0dWRlID0gLTY0OyAvL2NvbSBOCiAgICAgICAgZ29fc291dGhfZWFzdCgmbGF0aXR1ZGUsICZsb25naXR1ZGUpOwogICAgICAgIHByaW50ZigiQXZhc3QhIE5vdyBhdDogWyVpLCAlaV1cbiIsIGxhdGl0dWRlLCBsb25naXR1ZGUpOwogICAgICByZXR1cm4gMDsKIAogICAgfQ==