g1-02897.in
g1-02897.out
在 C++ 中,对浮点变量 float f,则语句 cin >> f; cout << (f < 1); 在输入是 2e-1 时,输出是 0。
float f
cin >> f; cout << (f < 1);
2e-1
0