原来是道 A * B
1 import java.util.Scanner; 2 3 public class P1264 4 { 5 public static void main(String args[]) 6 { 7 try (Scanner cin = new Scanner(System.in)) 8 { 9 while (cin.hasNext()) 10 { 11 int n = cin.nextInt(); 12 int m = cin.nextInt(); 13 System.out.println(n * (m + 1)); 14 } 15 } 16 } 17 }
时间: 2024-12-13 21:24:43