标签:ble public print scan span next [] can ring
/**
* @link http://acm.hdu.edu.cn/showproblem.php?pid=2188
* @author Sycamore
* @date Aug, 21
*/
import java.util.*;
class Main{
public static void main(String args[]){
Scanner scanner=new Scanner(System.in);
int c=scanner.nextInt();
while(c--!=0){
int n=scanner.nextInt(),m=scanner.nextInt();
System.out.println(n%(m+1)==0?"Rabbit":"Grass");
}
scanner.close();
}
}
HDU 2188: 悼念512汶川大地震遇难同胞——选拔志愿者 (in Java)
标签:ble public print scan span next [] can ring
原文地址:http://www.cnblogs.com/zjnu/p/7403748.html