by@_gacin
WA
using System.Console; public class Test { public static Main() : void { def f = ReadLine(); mutable x = 0; mutable y = 1; for(mutable i = 99; i >= 0; i--){ if(f[i] == '1'){ x = x+y; } else{ x = x; } y *= 2; } WriteLine(x); } }
1001001110111000101000001001101110011011011110010000100111100110010101100010101011100101110111110101
Error in the program: More than one bracket; position 5