Today, I tried the poj platform, but I am a little nervous. I don't know if I can handle it myself.
I checked my poj question recommendations online, so I started to practice poj 3299 questions.
Later, I found that I failed to try it several times, which made me very depressed. So I checked the error in sample 1000, the public class should not be followed by "Humidex", but "Main ".
The first person will commit embarrassing things.
The second reason is that a self-compiled statement may cause a Presentation Error because the output result format is incorrect. Then, you can adjust the expression slightly.
Remember an article titled 50 questions recommended by POJ and ACM training scheme. I will repost it later. After all, I will try it later.
Secondly, it is a Web site, the JAVA solution Peking University acm poj source code, http://www.java3z.com/cwbwebhome/article/article17/POJ3.html
For more information, see.
Next, I read the example and tried to work out the 3299. The trial run was successful.
E = 2.718281828 middle cin = middle (t = 102, d = 102, h = 102 (I = 0; I <2; I ++ alpha = (alpha. equals ("H" h =} (alpha. equals ("D" d =} (alpha. equals ("T" t =} (alpha. equals ("E" System. exit (0 e2 = 6.11 * Math. pow (e, 5417.7530*(1/273. 16)-(1/(d + 273.16 (h = 102 h = t + 0.5555*(e2-10.0 System. out. print ("T" System. out. printf ("%. 1f "System. out. print ("D" System. out. printf ("%. 1f "System. out. print ("H" System. out. printf ("%. 1f "(t = 102 t = h-0.5555 * (e2-10.0 System. out. print ("T" System. out. printf ("%. 1f "System. out. print ("D" System. out. printf ("%. 1f "System. out. print ("H" System. out. printf ("%. 1f "(d = 102 e2 = (h-t)/0.5555 + 10.0 d = 1/(1/273. 16)-Math. log (e2/6.11)/5417.7530)-273.16 d = () Math. round (d * 10)/10 System. out. print ("T" System. out. printf ("%. 1f "System. out. print ("D" System. out. printf ("%. 1f "System. out. print ("H" System. out. printf ("%. 1f "}View Code
Okay, practice more, come on, little stars ~