{"trustable":true,"prependHtml":"\u003cscript\u003e\n window.katexOptions \u003d {\n delimiters: [\n {left: \u0027\\\\(\u0027, right: \u0027\\\\)\u0027, display: false},\n ]\n };\n\u003c/script\u003e\n","sections":[{"title":"","value":{"format":"HTML","content":"\u003cp\u003e\n\tGiven a string, you should validate whether the string represents a legal float number.\nThe legal float number should in this pattern:\n^([\\+\\-])?(?\u0026amp;ltintegral_digits\u0026gt;\\d*)?((\\.)(?\u0026amp;ltfractional_digits\u0026gt;\\d*))?(([eE])(?\u0026amp;ltexponent\u0026gt;[\\+\\-]?\\d+))?$\nObviously if both fractional_digits and integral_digits part are empty, this string is also illegal.\n\u003c/p\u003e\n\u003cp\u003e\u003cb\u003eInput\u003c/b\u003e\u003c/p\u003e\n\u003cp\u003e\nThere are multiple test cases, each with a string in a line(no extra blanks in this string).\nThe test cases end with a single \u0027#\u0027 in a line.\n\u003c/p\u003e\n\u003cp\u003e\u003cb\u003eOutput\u003c/b\u003e\u003c/p\u003e\n\u003cp\u003e\n\tIf the string represents a legal float number, output \u0027Yes\u0027 in a line. Otherwise output \u0027No\u0027.\n\u003c/p\u003e\n\u003cp\u003e\u003cb\u003eSample Input\u003c/b\u003e\u003c/p\u003e\n\u003cp\u003e\u003c/p\u003e\u003cpre\u003e1.1e11\n1.1e1.1\n#\u003c/pre\u003e\n\u003cp\u003e\u003c/p\u003e\n\n\u003cp\u003e\u003cb\u003eSample Output\u003c/b\u003e\u003c/p\u003e\n\u003cp\u003e\u003c/p\u003e\u003cpre\u003eYes\nNo\u003c/pre\u003e\u003cp\u003e\u003c/p\u003e\n\n\u003cbr\u003e\n"}}]}