fork download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7. string bin = "1001001";
  8. string final = "";
  9. for (int i = 0; i < bin.Length; i++)
  10. {
  11. int j = bin[i];
  12. final += Math.Pow(j * 10, bin.Length - i);
  13. }
  14. Console.WriteLine(final);
  15. }
  16. }
Success #stdin #stdout 0s 131648KB
stdin
Standard input is empty
stdout
6.78223072849E+181.2230590464E+162548039680000057648010000110592000230400490