D. Pair of Numbers (ST表&二分&双指针)
D. Pair of Numbers (ST表&二分&双指针)显然就是找最大区间gcd=mingcd=mingcd=min ,且长度具有二分性,然后没了,代码懒得写,参考的题解区。#include <stdio.h>inline int read(){ int num=0;char c=getchar(); while(c<48||c>57)c=getchar(); while(c>47&am