#include<stdio.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("second\n"); else printf("first\n"); } return 0; }
hdu 1846 Brave Game
猜你喜欢
转载自blog.csdn.net/l2533636371/article/details/80163827
今日推荐
周排行