#include <iostream>
#include <string>
#include <math.h>
using namespace std;
int main()
{
string coordinates = "N " + to_string(3 * 4 + 6 * 7) + " 0" + to_string((int)sqrt(49)) + ".";
int x = 1;
int y = -x;
if (17 % 4 <= 1)
x = 3;
else if (11 - 7 == 4)
x = 2;
switch (x - y)
{
case -1: coordinates += "854"; break;
case 0: coordinates += "920"; break;
case 1: coordinates += "791"; break;
case 2: coordinates += "766"; break;
case 3: coordinates += "823"; break;
case 4: coordinates += "811"; break;
case 5: coordinates += "644"; break;
default: coordinates += "807"; break;
}
coordinates += " W 000 " + to_string((int)((2 - 14) * -2 / 0.5)) + ".";
int v = 0;
for (int i = 1; i < 4; i++)
{
for (int j = 1; j <= i; j++)
v += i * j;
}
coordinates += to_string(41 + 12 * v);
cout << "The coordinates for the cache are: " << endl << coordinates << endl << endl;
system("Pause");
return 0;
}
Congratulations to marions27 for FTF.
Last cache check: 22 September 2024