标签:panel pre can output int tput desc des inpu
http://acm.hdu.edu.cn/showproblem.php?pid=2188
#include <bits/stdc++.h>
using namespace std;
int main() {
int T;
scanf("%d", &T);
while(T --) {
int n, m;
scanf("%d%d", &n, &m);
if(n % (m + 1) != 0)
printf("Grass\n");
else
printf("Rabbit\n");
}
return 0;
}
HDU 2188 悼念512汶川大地震遇难同胞——选拔志愿者
标签:panel pre can output int tput desc des inpu
原文地址:https://www.cnblogs.com/zlrrrr/p/9417354.html