摘要:
Description Today is Gorwin’s birthday. So her mother want to realize her a wish. Gorwin says that she wants to eat many cakes. Thus, her mother takes 阅读全文
posted @ 2016-08-22 18:21
爱记录一切美好的微笑
阅读(200)
评论(0)
推荐(0)
摘要:
题目链接: http://acm.split.hdu.edu.cn/showproblem.php?pid=4994 Description Nim is a mathematical game of strategy in which two players take turns removing 阅读全文
posted @ 2016-08-22 17:23
爱记录一切美好的微笑
阅读(185)
评论(0)
推荐(0)
摘要:
Description 985有n个正整数,他想知道存在多少个不同的因子对(a[i], a[j])使得 1 <= i, j <= n && i != j && a[j] % a[i] == 0,其中i和j是元素的下标。 特别地,他认为(a[i],a[j])与(a[j],a[i])是一样的因子对。 9 阅读全文
posted @ 2016-08-22 16:12
爱记录一切美好的微笑
阅读(139)
评论(0)
推荐(0)
摘要:
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5652 Mean: 输入描述 输出描述 Sample Input 1 4 6 011010 000010 100001 001000 7 0 3 1 5 1 3 0 0 1 2 2 4 2 1 Sampl 阅读全文
posted @ 2016-08-22 11:13
爱记录一切美好的微笑
阅读(162)
评论(0)
推荐(0)
摘要:
题目链接: http://acm.split.hdu.edu.cn/showproblem.php?pid=2802 Problem Description Giving the N, can you tell me the answer of F(N)? Input Each test case 阅读全文
posted @ 2016-08-22 09:55
爱记录一切美好的微笑
阅读(273)
评论(0)
推荐(0)
摘要:
描述 LT最近一直在无限循环薛之谦的歌,简直都中毒了!可是呢…他的歌LT还是不会唱(其实不止他的歌LT不会唱,所有人的歌LT都不会唱…因为LT是标准的音痴)可是LT又很喜欢唱歌(所以LT不仅是音痴还是音痴)…没错,这对于LT的室友来说简直是噩梦… 现在呢,LT有N次操作,每次操作只会有两种可能: I 阅读全文
posted @ 2016-08-22 09:25
爱记录一切美好的微笑
阅读(171)
评论(0)
推荐(0)