标签:
Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 6756 Accepted Submission(s):
4256
1 #include <stdio.h> 2 int main() 3 { 4 int n, m, t; 5 scanf("%d", &t); 6 while(t--) 7 { 8 scanf("%d %d", &n, &m); 9 if(n%(m+1)) 10 printf("Grass\n"); 11 else 12 printf("Rabbit\n"); 13 } 14 return 0; 15 }
杭电2188--悼念512汶川大地震遇难同胞——选拔志愿者(巴什博弈)
标签:
原文地址:http://www.cnblogs.com/fengshun/p/4678685.html