摘要:
时间限制:10000ms 单点时限:2000ms 内存限制:512MB 描述小Hi平时的一大兴趣爱好就是演奏钢琴。我们知道一个音乐旋律被表示为一段数构成的数列。现在小Hi想知道一部作品中出现了多少不同的旋律?#include#include#include#define rg reg... 阅读全文
posted @ 2017-09-19 21:17
黑码的博客
阅读(161)
评论(0)
推荐(0)
摘要:
string string string Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 801 Accepted ... 阅读全文
posted @ 2017-09-19 21:17
黑码的博客
阅读(107)
评论(0)
推荐(0)
摘要:
Chip Factory Time Limit: 18000/9000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others) Total Submission(s): 3409 Accepted Subm... 阅读全文
posted @ 2017-09-19 21:17
黑码的博客
阅读(80)
评论(0)
推荐(0)
摘要:
As we know, Rikka is poor at math. Yuta is worrying about this situation, so he gives Rikka some math tasks to practice. There is one of them:... 阅读全文
posted @ 2017-09-19 21:17
黑码的博客
阅读(221)
评论(0)
推荐(0)
摘要:
Given a binary string S[1,…,N]S[1,…,N] (i.e. a sequence of 0’s and 1’s), and QQ queries on the string. There are two types of queries: Flippin... 阅读全文
posted @ 2017-09-19 21:17
黑码的博客
阅读(128)
评论(0)
推荐(0)
摘要:
In computer vision, a chain code is a sequence of numbers representing directions when following the contour of an object. For example, the fo... 阅读全文
posted @ 2017-09-19 21:17
黑码的博客
阅读(127)
评论(0)
推荐(0)
摘要:
Lulu has a sweet tooth. Her favorite food is ring donut. Everyday she buys a ring donut from the same bakery. A ring donut is consists of nn p... 阅读全文
posted @ 2017-09-19 21:17
黑码的博客
阅读(143)
评论(0)
推荐(0)
摘要:
https://loj.ac/problem/528不含平方因子的数才会有 -1 和 1才会对结果造成影响, 所有排除掉所有含有平方因子的数就好开始的时候平方是1 就是没有平方因子的情况,减去所有平方因子的情况#include using namespace std;const in... 阅读全文
posted @ 2017-09-19 21:17
黑码的博客
阅读(185)
评论(0)
推荐(0)
摘要:
int miniexpress (char* s, int n) { int p = 0, q = 1; while (p 0) j=j+k+1; else i=i+k+... 阅读全文
posted @ 2017-09-19 21:17
黑码的博客
阅读(140)
评论(0)
推荐(0)
摘要:
转: http://blog.csdn.net/xzxxzx401/article/details/52196950 题意很明确是线段树,需要三种操作:区间更新(加值),区间开根号,区间求和。区间开根号就是区间内部每一个值开根号。思路先膜吧:我和这个大佬的代码风格很像,所以看的很舒服... 阅读全文
posted @ 2017-09-19 21:17
黑码的博客
阅读(113)
评论(0)
推荐(0)
浙公网安备 33010602011771号