题解 | #牛牛的空格分隔#
牛牛的空格分隔
https://www.nowcoder.com/practice/b2203c4a5c304536a7f577bc885de511
import java.util.Scanner; // 注意类名必须为 Main, 不要有任何 package xxx 信息 public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); String s = in.next(); int ss = in.nextInt(); float sss = in.nextFloat(); System.out.print(s+" "+ss+" "+String.format("%.6f", sss)); } }