zzul1073_Java】的更多相关文章

import java.util.Scanner;/** * 限制解是正数,且脚数为偶数即可 */public class zzul1073 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int m = sc.nextInt(), n = sc.nextInt(); int x = (4*m - n)/2; int y = (n - 2*m)/2; if(x > 0 &&…