搞笑,什么叫“……a,b,m都是整形……就是整形变量?”
我Google了一下,原题是:
Given two integers n and m, count the number of pairs of integers (a,b) such that 0 < a < b < n and (a^2+b^2 +m)/(ab) is an integer.
搞笑,什么叫“……a,b,m都是整形……就是整形变量?”
我Google了一下,原题是:
Given two integers n and m, count the number of pairs of integers (a,b) such that 0 < a < b < n and (a^2+b^2 +m)/(ab) is an integer.