标签:des style blog http color java os strong
先上题目:
Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 5358 Accepted Submission(s): 3330
1 #include <iostream> 2 3 using namespace std; 4 5 int main() 6 { 7 int t,n,m; 8 ios::sync_with_stdio(false); 9 cin>>t; 10 while(t--){ 11 cin>>n>>m; 12 if(n%(m+1)!=0) cout<<"Grass"<<endl; 13 else cout<<"Rabbit"<<endl; 14 } 15 return 0; 16 }
HDU - 2188 - 悼念512汶川大地震遇难同胞——选拔志愿者,布布扣,bubuko.com
HDU - 2188 - 悼念512汶川大地震遇难同胞——选拔志愿者
标签:des style blog http color java os strong
原文地址:http://www.cnblogs.com/sineatos/p/3888847.html