algo/baby-game
345 solves / 272 points
Writeup by Aryan
#include <iostream>
#include <cmath>
using namespace std;
int main() {
int n;
int x1, y1, x2, y2;
cin >> n;
cin >> x1 >> y1 >> x2 >> y2;
int manhattan_distance = abs(x1 - x2) + abs(y1 - y2);
if (manhattan_distance % 2 == 1) {
cout << "Caring Koala" << endl;
} else {
cout << "Red Panda" << endl;
}
return 0;
}Last updated