标签:back sans font more pid ati second [] int
/**
* @link http://acm.hdu.edu.cn/showproblem.php?pid=1846
* @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?"first":"second");
}
scanner.close();
}
}
HDU 1846: Brave Game (in Java)
标签:back sans font more pid ati second [] int
原文地址:http://www.cnblogs.com/zjnu/p/7403762.html