import java.util.*;
public class Solution {
/**
* 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可
*
* 返回满足条件的格点直角三角形数量
* @param n int整型 格点的行数
* @param m int整型 格点的列数
* @return int整型
*/
public int getNums (int n, int m) {
// write code here
int mod = 1000000007;
long b = 1;
b = (b*n)%mod;
System.out.println(b);
b = (b*m)%mod;
System.out.println(b);
b = (b*(n-1))%mod;
System.out.println(b);
b = (b*(m-1))%mod;
System.out.println(b);
System.out.println(b%mod);
return (int)b;
}
}

京公网安备 11010502036488号