nyoj 23 取石子(一)
2014-04-27 21:13
169 查看
题目来源:http://acm.nyist.net/JudgeOnline/problem.php?pid=23
简单的巴什博奕,博弈类型参考资料:/article/10999338.html
简单的巴什博奕,博弈类型参考资料:/article/10999338.html
#include <iostream> #include <cstring> #include <cstdio> using namespace std; int main() { int T, a, b; scanf("%d", &T); while(T--) { scanf("%d %d", &a, &b); if(a % (b+1) == 0) printf("Lose\n"); else printf("Win\n"); } return 0; }
相关文章推荐
- nyoj 23 取石子(一)
- NYOJ:23-取石子(一)
- NYOJ,23,取石子(一)
- NYOJ_23_取石子(一)
- Nyoj-23 取石子(一) (博弈游戏)
- NYOJ23 取石子(一)(详解巴什博奕)
- NYOJ-23 取石子(一)
- NYOJ 23 取石子(一)
- nyoj23取石子(一)
- NYOJ 23 —— 取石子(一)【博弈】
- NYOJ 23题 取石子(一)
- nyoj-23-取石子(一)
- NYOJ 23 取石子(一) 解题报告
- NYOJ 23 取石子(一)
- nyoj23取石子(一)
- NYOJ-23 取石子(一)
- nyoj23取石子(一)
- NYOJ 23 取石子(一)
- nyoj 23 取石子(一)
- NYOJ-23 取石子(一)(巴什博奕)