摘要:
【题目描述】 小希拿到了一个镜子块,镜子块可以视为一个N x M的方格图,里面每个格子仅可能安装`\`或者`/`的镜子,会反射90°光线,也可能没有安装镜子,使用`.`代替。 但她看不清楚里面的镜子构造是怎样的。 你是这块镜子块的主人,所以你想计算这... 阅读全文
posted @ 2022-09-20 22:59
老程序员111
阅读(52)
评论(0)
推荐(0)
摘要:
Problem Description What a sunny day! Let’s go picnic and have barbecue! Today, all kids in “Sun Flower” kindergarten are prepa... 阅读全文
posted @ 2022-09-20 22:59
老程序员111
阅读(41)
评论(0)
推荐(0)
摘要:
Problem Description 对于一个给定的序列a1,…,an,我们对它进行一个操作reduce(i),该操作将数列中的元素ai和ai+1用一个元素max (ai,ai+1)替代,这样得到一个比原来序列短的新序列。这一操作的代价是max(ai,... 阅读全文
posted @ 2022-09-20 22:59
老程序员111
阅读(84)
评论(0)
推荐(0)
摘要:
Problem Description The SUM problem can be formulated as follows: given four lists A, B, C, D of integer values, compute how ma... 阅读全文
posted @ 2022-09-20 22:59
老程序员111
阅读(38)
评论(0)
推荐(0)
摘要:
【】 阅读全文
posted @ 2022-09-20 22:59
老程序员111
阅读(81)
评论(0)
推荐(0)
摘要:
Problem Description You are an adventurer currently journeying inside an evil temple. After defeating a couple of weak zombies,... 阅读全文
posted @ 2022-09-20 22:59
老程序员111
阅读(109)
评论(0)
推荐(0)
摘要:
Problem Description Give you three integers n, A and B. Then we define S i = A i mod B and T i = Min{ S k | i-A = 1} Your tas... 阅读全文
posted @ 2022-09-20 22:59
老程序员111
阅读(20)
评论(0)
推荐(0)
摘要:
Problem Description You are given a sequence of n numbers a 0,..., a n-1. A cyclic shift by k positions (0=0 的 n 长子序列,那么只要找出最小的... 阅读全文
posted @ 2022-09-20 22:59
老程序员111
阅读(43)
评论(0)
推荐(0)
摘要:
Problem Description In a speech contest, when a contestant finishes his speech, the judges will then grade his performance. The... 阅读全文
posted @ 2022-09-20 22:59
老程序员111
阅读(69)
评论(0)
推荐(0)
摘要:
Problem Description 小球球是个可爱的孩子,他喜欢玩具,另外小球球有个大大的柜子,里面放满了玩具,由于柜子太高了,每天小球球都会让妈妈从柜子上拿一些玩具放在地板上让小球球玩。 这天,小球球把所有的N辆玩具摆成一排放在地上,对于每辆玩具i... 阅读全文
posted @ 2022-09-20 22:59
老程序员111
阅读(54)
评论(0)
推荐(0)

浙公网安备 33010602011771号