#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 -> %g, %g\n", s
, x1
, x2
); }
else
{
printf("%s: invalid input.\n", s
); }
}
int main(void)
{
test_scanf("1495.952 934.023");
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxmbG9hdC5oPgojaW5jbHVkZSA8bWF0aC5oPgogCnN0YXRpYyB2b2lkIHRlc3Rfc2NhbmYoY29uc3QgY2hhciAqcykKewogICAgZG91YmxlIHgxLCB4MjsKIAogICAgaWYgKChzc2NhbmYocywgIiVsZiAlbGYiLCAmeDEsICZ4MikpID09IDIpCiAgICB7CiAgICAgICAgcHJpbnRmKCIlcyAtPiAlZywgJWdcbiIsIHMsIHgxLCB4Mik7CiAgICB9CiAgICBlbHNlCiAgICB7CiAgICAgICAgcHJpbnRmKCIlczogaW52YWxpZCBpbnB1dC5cbiIsIHMpOwogICAgfQp9CiAKaW50IG1haW4odm9pZCkKewogICAgdGVzdF9zY2FuZigiMTQ5NS45NTIgOTM0LjAyMyIpOwp9CiA=