#include <iostream>
#include <sstream>
int main()
{
double d;
std::string s("0.735");
std::istringstream is(s);
is >> d;
std::cout << d << '\n' << is.str() << '\n'
<< is.str().empty() << '\n' << is.eof() << '\n';
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3N0cmVhbT4KCmludCBtYWluKCkKewoJZG91YmxlIGQ7CglzdGQ6OnN0cmluZyBzKCIwLjczNSIpOwoJc3RkOjppc3RyaW5nc3RyZWFtIGlzKHMpOwoJaXMgPj4gZDsKCQoJc3RkOjpjb3V0IDw8IGQgPDwgJ1xuJyA8PCBpcy5zdHIoKSA8PCAnXG4nCgkJPDwgaXMuc3RyKCkuZW1wdHkoKSA8PCAnXG4nIDw8IGlzLmVvZigpIDw8ICdcbic7CgkKCXJldHVybiAwOwp9