import java.util.Scanner; public class Main{ public static void main(String[] args){ int m , n; Scanner in = new Scanner(System.in); m = in.nextInt(); n = in.nextInt(); System.out.println(Min(m,n)); } static int Min(int a,int b){ if(a<=b)return a; else return b; } // Write your own code }
时间: 2024-10-11 05:08:42