Result

WA

Duration

1622ms

Code [DL]

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

stdin

10110000110001000110000100000000100001111010100011

stdout

484848484848484848484848484848484848484848484848484848484848484849

stderr

[email protected]/tmp/code.d(4): Range violation
----------------
0x43d7ea onRangeError
	../../../../src/libphobos/libdruntime/core/exception.d:471
0x43da2a _d_arraybounds
	../../../../src/libphobos/libdruntime/core/exception.d:642
0x403d33 _Dmain
	???:0
0x44558e _D2rt6dmain211_d_run_mainUiPPaPUAAaZiZ6runAllMFZ9__lambda1MFZv
	../../../../src/libphobos/libdruntime/rt/dmain2.d:476
0x445701 void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).tryExec(scope void delegate())
	../../../../src/libphobos/libdruntime/rt/dmain2.d:451
0x445b08 void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).runAll()
	../../../../src/libphobos/libdruntime/rt/dmain2.d:476
0x445701 void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).tryExec(scope void delegate())
	../../../../src/libphobos/libdruntime/rt/dmain2.d:451
0x4458b6 _d_run_main
	../../../../src/libphobos/libdruntime/rt/dmain2.d:484
0x403bba main
	???:0
0x7f2d854fd82f __libc_start_main
	???:0
0x403ac8 _start
	???:0
0xffffffffffffffff ???
	???:0