Result

WA

Duration

1615ms

Code [DL]

import std.stdio;void main(){int i=0;for(string s=readln;i<50;i++)write(i<34?s[i]&s[i+5]&s[i+12]&s[i+17]&1:0);}

stdin

11010110001010010000001100100100111001000010110011

stdout

000000000000000000000000000000001

stderr

core.exception.RangeError@/tmp/code.d(1): Range violation
----------------
0x43d7fa onRangeError
	../../../../src/libphobos/libdruntime/core/exception.d:471
0x43da3a _d_arraybounds
	../../../../src/libphobos/libdruntime/core/exception.d:642
0x403d3d _Dmain
	???:0
0x44559e _D2rt6dmain211_d_run_mainUiPPaPUAAaZiZ6runAllMFZ9__lambda1MFZv
	../../../../src/libphobos/libdruntime/rt/dmain2.d:476
0x445711 void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).tryExec(scope void delegate())
	../../../../src/libphobos/libdruntime/rt/dmain2.d:451
0x445b18 void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).runAll()
	../../../../src/libphobos/libdruntime/rt/dmain2.d:476
0x445711 void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).tryExec(scope void delegate())
	../../../../src/libphobos/libdruntime/rt/dmain2.d:451
0x4458c6 _d_run_main
	../../../../src/libphobos/libdruntime/rt/dmain2.d:484
0x403bba main
	???:0
0x7f18471da82f __libc_start_main
	???:0
0x403ac8 _start
	???:0
0xffffffffffffffff ???
	???:0

strace