{"raw_statement":[{"iden":"statement","content":"假定多项式的形式为 $x^n+x^{(n-1)}+$ … $+x^2+x+1$，请计算给定单精度浮点数 $x$ 和正整数 $n$ 值的情况下这个多项式的值。多项式的值精确到小数点后两位，保证最终结果在 double 范围内。"},{"iden":"input","content":"输入仅一行，包括 $x$ 和 $n$，用单个空格隔开。"},{"iden":"output","content":"输出一个实数，即多项式的值，精确到小数点后两位。保证最终结果在 double 范围内。"},{"iden":"note","content":"$x$ 在 double 范围内且不为 $1$，$n \\le 1000000$。"}],"translated_statement":null,"sample_group":[["2.0 4","31.00"]],"show_order":[],"formal_statement":null,"simple_statement":null,"has_page_source":false}