Codeforces 209 div2 D. Pair of Numbers
题目:D. Pair of Numbers思路:预处理每个数最右边和最左边能够整除它的下标,然后暴力,记得去重,不然会Wa tag :dp + 预处理#include #include #include #include #include #include #include using namespace std;#define maxn 30001