Result

WA

Duration

1610ms

Code [DL]

import std.stdio;
void main(){
string s = readln;
for(int i=0;i<33;i++)write(s[i-1]&s[i+4]&s[i+11]&s[i+16]-48);
for(int i=0;i<16;i++)write(0);
}

stdin

10000010010100100100001000110010101100010000000100

stdout

stderr

[email protected]/tmp/code.d(4): Range violation
----------------
0x43d80a onRangeError
	../../../../src/libphobos/libdruntime/core/exception.d:471
0x43da4a _d_arraybounds
	../../../../src/libphobos/libdruntime/core/exception.d:642
0x403c37 _Dmain
	???:0
0x4455ae _D2rt6dmain211_d_run_mainUiPPaPUAAaZiZ6runAllMFZ9__lambda1MFZv
	../../../../src/libphobos/libdruntime/rt/dmain2.d:476
0x445721 void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).tryExec(scope void delegate())
	../../../../src/libphobos/libdruntime/rt/dmain2.d:451
0x445b28 void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).runAll()
	../../../../src/libphobos/libdruntime/rt/dmain2.d:476
0x445721 void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).tryExec(scope void delegate())
	../../../../src/libphobos/libdruntime/rt/dmain2.d:451
0x4458d6 _d_run_main
	../../../../src/libphobos/libdruntime/rt/dmain2.d:484
0x403bba main
	???:0
0x7fa22b11582f __libc_start_main
	???:0
0x403ac8 _start
	???:0
0xffffffffffffffff ???
	???:0