fork download
  1. using [java] java.lang
  2. using [java] java.math
  3. using [java] java.io
  4.  
  5. class FantomSay {
  6. Void main(Str[] args) {
  7. // your code goes here
  8. BufferedReader input :=
  9. BufferedReader(InputStreamReader(System.in))
  10. Str str := input.readLine()
  11. BigInteger d := BigInteger(str, 2)
  12. System.out.println(d.toString())
  13. }
  14. }
Success #stdin #stdout #stderr 2.37s 893952KB
stdin
1010000010010011101001000101010101111110000100111001111111100111000001010110100111101101011111011001
stdout
795137435392956464954995562457
stderr
Java HotSpot(TM) Server VM warning: No monotonic clock was available - timed services may be adversely affected if the time-of-day clock changes