uva 10771

时间:2021-11-09 14:32:55

思路题

K的人数只能以2减少

#include <cstdio>
#include <cstdlib>
#include <cmath>
#include <map>
#include <set>
#include <queue>
#include <stack>
#include <vector>
#include <sstream>
#include <string>
#include <cstring>
#include <algorithm>
#include <iostream>
#define maxn 2010
#define INF 0x7fffffff
#define inf 10000000
#define MOD 1000000007
#define ull unsigned long long
#define ll long long
using namespace std; int main()
{
int m, n, t;
while(scanf("%d%d%d", &m, &n, &t) && m+n+t)
{
if(n%2) puts("Keka");
else puts("Gared");
}
return 0;
}