└── java /java: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import java.util.*; 3 | 4 | public class Solution { 5 | 6 | public static void main(String[] args) { 7 | Scanner sc=new Scanner(System.in); 8 | Float a=sc.nextFloat(); 9 | int b=sc.nextInt(); 10 | int c=sc.nextInt(); 11 | int d=sc.nextInt(); 12 | System.out.printf("%.0f\n",Math.floor(a)); 13 | System.out.printf("%.0f\n",Math.ceil(a)); 14 | System.out.println(Math.round(a)); 15 | System.out.printf("%.0f\n",Math.sqrt(b)); 16 | System.out.printf("%.0f\n",Math.pow(c,d)); 17 | 18 | 19 | } 20 | } 21 | --------------------------------------------------------------------------------