标签:turn tput 行数据 医护人员 class namespace def nbsp memory
Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 12035 Accepted Submission(s): 7791
C/C++:
1 #include <map> 2 #include <queue> 3 #include <cmath> 4 #include <vector> 5 #include <string> 6 #include <cstdio> 7 #include <cstring> 8 #include <climits> 9 #include <iostream> 10 #include <algorithm> 11 #define INF 0x3f3f3f3f 12 #define LL long long 13 using namespace std; 14 15 int t, n, m; 16 17 int main() 18 { 19 scanf("%d", &t); 20 while (t --) 21 { 22 scanf("%d%d", &n, &m); 23 if (n % (m + 1) == 0) 24 printf("Rabbit\n"); 25 else 26 printf("Grass\n"); 27 } 28 return 0; 29 }
hdu 2188 悼念512汶川大地震遇难同胞——选拔志愿者 (巴什博弈)
标签:turn tput 行数据 医护人员 class namespace def nbsp memory
原文地址:https://www.cnblogs.com/GetcharZp/p/9557711.html