题目链接题意:Your should calculate the total damage to the battlefield. Formally, you should computef(n)=∑i=1n∑j=1i⌈ij⌉[(i,j)=1],where [(i,j)=1] evaluates to be 1 if gcd(i,j)=1,
题目链接题意:Your should calculate the total damage to the battlefield. Formally, you should computef(n)=∑i=1n∑j=1i⌈ij⌉[(i,j)=1],where [(i,j)=1] evaluates to be 1 if gcd(i,j)=1,