# | Problem | Pass Rate (passed user / total user) |
---|---|---|
12134 | The Big Hammer Rise |
|
12353 | C is for Cat |
|
13261 | Mop the Floor |
|
Description
A famous streamer once said: " Abortion Uncle!! Begin abort!!! " The Abortion Uncle is also known as "The Big Hammer Rise". The famous streamer wants to know the exactly time "Big Hammer Rise" kill an enemy. Because he got a double kill, he know exacly two time which denote as a, b.
The famous streamer will give you two number a,b which are represented as float numbers and have two digit after the decimal point.
For example:
If a,b are ranged from 1~99, 1<= a , b < 100;
a,b will be like these forms: 18.00, 99.30, 71.22
You need to calculate ans = a*b, and ans should follow the rule:
if the number of digits after decimal point is less then four digits, then you need to print 0 to make it four digits.
For example: 18.56 -> 18.5600, 18 -> 18.0000, 18.9 -> 18.9000
If you tell him the right answer he will help you kill the ice bird.
( Note: you can use scanf("%d.%d %d.%d", &int, &int, &int, &int). Use %f may cause trouble because the precision of float type. )
( Note: you can use printf("%d.%04d\n", int/10000, int%10000); )
Input
input only contains two float number a,b ( 1<= a , b < 100 ) the two number are seperated by a blank.
Output
output contains only a float number which have four digit after the decimal point.
remember to print \n at the end of output.
Sample Input Download
Sample Output Download
Tags
Discuss
Description
Your very first programming assignment is to print a cat :
^ ^ (=-w-=)----? " " " "
This cat is made up of three lines :
The first line includes 10 whitespace (
) and 2 carets (^
).
The second line includes a pair of brackets (()
), 2 equal signs (=
), 6 hyphens (-
), 1 lower case w letter (w
), and 1 question mark (?
).
The third line includes 8 whitespace (
) and 4 quotation marks ("
).
Remember to put a new line character in the end of each line.
(gray dots represents whitespace characters)
Very Important Notes
-
Getting compile error? Having problem printing quotation mark (
"
)? Maybe this link can help you. -
Getting Wrong Answer? Make sure you don't miss any whitespace (
\n
) character.
Input
This is no input for this problem.
Output
Print the cat in the problem description.
Sample Input Download
Sample Output Download
Tags
Discuss
Description
The floor in Winnie the Pooh’s house is made of N row *M column square woods.
Today, Winnie wants to mop the floor.
Winnie is standing on the wooden floor in the upper right corner at the beginning, and his big belly can mop 1 or 2 adjacent pieces of wood at the same time.
Besides, Winnie is a lazy bear, so the next starting position must be adjacent to the last end one.
How many times does he need to clean the entire house at least?
Input
In a single line you are given two integers N and M (1 ≤ N, M ≤ 24).
Output
Output one number — how many times does he need to clean the entire house at least.