标签:
2 8 10 11 10
Grass Rabbit
#include <iostream> using namespace std; int main() { int t; cin>>t; while(t--) { int n,m; cin>>n>>m; if(n%(m+1)) cout<<"Grass"<<endl; else cout<<"Rabbit"<<endl; } return 0; }
HDU 2188 悼念512汶川大地震遇难同胞——选拔志愿者(巴什博奕)
标签:
原文地址:http://blog.csdn.net/hurmishine/article/details/51347826