#P2394. yyy loves Chemistry I
yyy loves Chemistry I
Description
Now yyy puts a piece of sodium with mass into a lot (excess) of water and then starts collecting hydrogen gas.
In the end, we know that this piece of sodium swam around in the water and disappeared. And yyy is very capable and collected all the hydrogen gas.
Known that every grams of sodium added will produce gram of hydrogen gas.
How many grams of hydrogen did yyy collect?
Formal statement: Given a real number , output rounded to decimal places.
Input Format
One line containing a real number , representing the mass of sodium that yyy put into the water (unit: ).
There will definitely not be a trailing newline at the end of the input file.
Output Format
One line containing a real number (rounded to decimal places), representing how many grams of hydrogen gas were produced.
0.23
0.01000000
Hint
Constraints and Notes
For of the testdata, .
Hint
Do you want to know how many decimal places has? Not telling you >_<
kkksc: How can there be no constraints! The input file is no more than !
Problem setter: How could you do that! Bad review! Now I can't lay traps!
Warning
Please note that the experiment described in the problem is highly risky. Do not attempt it: the reactive metal poses safety hazards, is strongly corrosive, and dissolving in water releases a large amount of heat.
Translated by ChatGPT 5
京公网安备 11011102002149号