摘要:
思路:若能给对方留下m+1,就可以胜。否则败。 1 #include 2 using namespace std; 3 int main() 4 { 5 int t,n,m;cin>>t; 6 while(t--) 7 { 8 cin>>n>>m; 9 ... 阅读全文
posted @ 2015-05-12 11:31
xcw0754
阅读(134)
评论(0)
推荐(0)
摘要:
思路:只要能给对方留下n+1,我就能胜,否则败。 1 #include 2 #include 3 using namespace std; 4 int main() 5 { 6 //freopen("input.txt", "r", stdin); 7 int n, m; 8 ... 阅读全文
posted @ 2015-05-12 11:28
xcw0754
阅读(152)
评论(0)
推荐(0)

浙公网安备 33010602011771号