|
||||||||||
LazyTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 1076 Accepted Submission(s): 369 Problem Description One of Mr.Lazy's kids which is called So Lazy and he is a pupil. As we know 'Like Father, Like Son',So Lazy and his father--Mr.Lazy is lazy where industriousness is expected.So Lazy is enjoying his summer vacation,and he is so lzay to finish his homework. He nearly forget this.Now,new term is around the corner,he feels more and more anxious day after day. He is so worry to finish his homework,he calculate very fast,and as a lazy man,he may make some mistakes.To accomplish his homework as fast as he can,he asks you (her elder bother Super Lazy) for help to check his homework.It is to say you must calculate all of his homework.As one of the most lazy people in the world.We know that you are industrious while coding,so you can solve this problem by computer program. Input Each line,there is one formula of algebra.The formula may include the following operator "+ - * / ^".(X^4 (def) X*X*X*X ),and all the numbers are real number and fit for double.Deviding 0 is illegal. Input end with the end of file.More information in sample.The length of the formula always less than 10000. Output Maybe the formula is illegal.If it is legal you must print the answer with 8 digits after dot in a single line or print "The teacher is so lazy!" in a single line.More information in sample and hint. Sample Input
Sample Output
Hint It is so easy,no trick exists. Author alpc98 Source | ||||||||||
|