import java.io.*; import java.util.Arrays; public class Main { public static BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); public static BufferedWriter out = new BufferedWriter(new OutputStreamWriter(System.out)); public static StreamTokenizer cin = new StreamTokenizer(new BufferedReader(new InputStreamReader(System.in))); public static PrintWriter cout = new PrintWriter(new OutputStreamWriter(System.out)); public static void main(String[] args) throws Exception { double[] num = new double[3]; for (int i = 0; i < 3; i++) { cin.nextToken(); num[i] = cin.nval; } Arrays.sort(num); cout.printf("%.3f\n", num[2]); cout.printf("%.3f", num[2]); cout.flush(); } }
0.0分
0 人评分
2005年春浙江省计算机等级考试二级C 编程题(2) (C语言代码)浏览:716 |
C语言程序设计教程(第三版)课后习题5.7 (C语言代码)浏览:1033 |
C语言程序设计教程(第三版)课后习题8.9 (Java代码)浏览:1338 |
成绩转换 (C语言代码)浏览:1010 |
C语言程序设计教程(第三版)课后习题10.7 (C语言代码)浏览:546 |
【金明的预算方案】 (C++代码)浏览:940 |
愚蠢的摄影师 (C++代码)浏览:938 |
1025题解浏览:738 |
2004年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码)浏览:324 |
神奇的fans (C语言代码)浏览:989 |