摘要:
LGTB 有一个长度为N 的序列A,现在他想构造一个新的长度为N 的序列B,使得B 中的任意两个数都 互质。 并且他要使ai与bi对应项之差最小 请输出最小值 输入 第一行包含一个数N 代表序列初始长度 接下来一行包含N 个数A1, A2, …, AN,代表序列A 对于40% 的数据,1 N 阅读全文
posted @ 2017-10-24 15:09
Z-Y-Y-S
阅读(642)
评论(0)
推荐(0)
摘要:
Description There is a straight highway with villages alongside the highway. The highway is represented as an integer axis, and the position of each v 阅读全文
posted @ 2017-10-24 15:05
Z-Y-Y-S
阅读(380)
评论(0)
推荐(0)

浙公网安备 33010602011771号