{"trustable":false,"sections":[{"title":"","value":{"format":"HTML","content":"\u003cdiv class\u003d\"ptx\" lang\u003d\"en-US\"\u003eProblems involving the computation of exact values of very large magnitude and precision are common. For example, the computation of the national debt is a taxing experience for many computer systems. \r\n\u003cbr\u003e\r\n\u003cbr\u003eThis problem requires that you write a program to compute the exact value of R\u003csup\u003en\u003c/sup\u003e where R is a real number ( 0.0 \u003c R \u003c 99.999 ) and n is an integer such that 0 \u003c n \u003c\u003d 25. \u003c/div\u003e"}},{"title":"Input","value":{"format":"HTML","content":"\u003cdiv class\u003d\"ptx\" lang\u003d\"en-US\"\u003eThe input will consist of a set of pairs of values for R and n. The R value will occupy columns 1 through 6, and the n value will be in columns 8 and 9.\u003c/div\u003e"}},{"title":"Output","value":{"format":"HTML","content":"\u003cdiv class\u003d\"ptx\" lang\u003d\"en-US\"\u003eThe output will consist of one line for each line of input giving the exact value of R^n. Leading zeros should be suppressed in the output. Insignificant trailing zeros must not be printed. Don\u0027t print the decimal point if the result is an integer.\u003c/div\u003e"}},{"title":"Sample Input","value":{"format":"HTML","content":"\u003cpre class\u003d\"sio\"\u003e95.123 12\r\n0.4321 20\r\n5.1234 15\r\n6.7592 9\r\n98.999 10\r\n1.0100 12\r\n\u003c/pre\u003e"}},{"title":"Sample Output","value":{"format":"HTML","content":"\u003cpre class\u003d\"sio\"\u003e548815620517731830194541.899025343415715973535967221869852721\r\n.00000005148554641076956121994511276767154838481760200726351203835429763013462401\r\n43992025569.928573701266488041146654993318703707511666295476720493953024\r\n29448126.764121021618164430206909037173276672\r\n90429072743629540498.107596019456651774561044010001\r\n1.126825030131969720661201\u003c/pre\u003e"}},{"title":"Hint","value":{"format":"HTML","content":"\u003cdiv class\u003d\"ptx\" lang\u003d\"en-US\"\u003eIf you don\u0027t know how to determine wheather encounted the end of input:\r\n\u003cbr\u003e\u003ci\u003es\u003c/i\u003e is a string and \u003ci\u003en\u003c/i\u003e is an integer\r\n\u003cbr\u003e\u003cpre\u003e\u003cb\u003eC++\u003c/b\u003e\r\n\u003cbr\u003ewhile(cin\u003e\u003es\u003e\u003en)\r\n\u003cbr\u003e{\r\n\u003cbr\u003e...\r\n\u003cbr\u003e}\r\n\u003cbr\u003e\u003cb\u003ec\u003c/b\u003e\r\n\u003cbr\u003ewhile(scanf(\"%s%d\",s,\u0026n)\u003d\u003d2) //to see if the scanf read in as many items as you want\r\n\u003cbr\u003e/*while(scanf(%s%d\",s,\u0026n)!\u003dEOF) //this also work */\r\n\u003cbr\u003e{\r\n\u003cbr\u003e...\r\n\u003cbr\u003e}\u003c/pre\u003e\u003c/div\u003e"}}]}