#include <stdio.h>
#include <float.h>
#include <math.h>
static void test_scanf(const char *s)
{
double x1, x2;
if ((sscanf(s
, "%lf %lf", &x1
, &x2
)) == 2) {
printf("%s: %e, %e (exponential form)\n", s
, x1
, x2
); printf(" %.7g %.7g\n", x1
, x2
); }
else
{
printf("%s: invalid input.\n", s
); }
}
int main(void)
{
test_scanf("6369.015 66159.129");
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxmbG9hdC5oPgojaW5jbHVkZSA8bWF0aC5oPgogCnN0YXRpYyB2b2lkIHRlc3Rfc2NhbmYoY29uc3QgY2hhciAqcykKewogICAgZG91YmxlIHgxLCB4MjsKIAogICAgaWYgKChzc2NhbmYocywgIiVsZiAlbGYiLCAmeDEsICZ4MikpID09IDIpCiAgICB7CiAgICAgICAgcHJpbnRmKCIlczogJWUsICVlIChleHBvbmVudGlhbCBmb3JtKVxuIiwgcywgeDEsIHgyKTsKICAgICAgICBwcmludGYoIiAgICAlZyAlZ1xuIiwgeDEsIHgyKTsKICAgICAgICBwcmludGYoIiAgICAlLjdnICUuN2dcbiIsIHgxLCB4Mik7CiAgICB9CiAgICBlbHNlCiAgICB7CiAgICAgICAgcHJpbnRmKCIlczogaW52YWxpZCBpbnB1dC5cbiIsIHMpOwogICAgfQp9CiAKaW50IG1haW4odm9pZCkKewogICAgdGVzdF9zY2FuZigiNjM2OS4wMTUgNjYxNTkuMTI5Iik7Cn0KIA==