摘要:
As we know, DZY loves playing games. One day DZY decided to play with a n × m matrix. To be more precise, he decided to modify the matrix with exactly 阅读全文
posted @ 2019-01-03 17:02
NKDEWSM
阅读(327)
评论(0)
推荐(0)
摘要:
DZY has a sequence a, consisting of n integers. We'll call a sequence ai, ai + 1, ..., aj (1 ≤ i ≤ j ≤ n) a subsegment of the sequence a. The value (j 阅读全文
posted @ 2019-01-03 16:56
NKDEWSM
阅读(680)
评论(0)
推荐(0)
摘要:
DZY loves collecting special strings which only contain lowercase letters. For each lowercase letter c DZY knows its value wc. For each special string 阅读全文
posted @ 2019-01-03 16:49
NKDEWSM
阅读(241)
评论(0)
推荐(0)
摘要:
DZY has a hash table with p buckets, numbered from 0 to p - 1. He wants to insert n numbers, in the order they are given, into the hash table. For the 阅读全文
posted @ 2019-01-03 16:48
NKDEWSM
阅读(216)
评论(0)
推荐(0)

浙公网安备 33010602011771号