Result

WA

Duration

955ms

Code [DL]

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

stdin

11100101010011101110000000000110000001100111010000

stdout

stderr

/tmp/code.d:3:1: error: undefined identifier s
 s = readln;
 ^
/tmp/code.d:4:5: error: undefined identifier i
 for(i=0;i<50;i++)write(s[i]&s[i+5]&s[i+12]&s[i+17]);
     ^
/tmp/code.d:4:9: error: undefined identifier i
 for(i=0;i<50;i++)write(s[i]&s[i+5]&s[i+12]&s[i+17]);
         ^
/tmp/code.d:4:14: error: undefined identifier i
 for(i=0;i<50;i++)write(s[i]&s[i+5]&s[i+12]&s[i+17]);
              ^
/tmp/code.d:4:24: error: undefined identifier s
 for(i=0;i<50;i++)write(s[i]&s[i+5]&s[i+12]&s[i+17]);
                        ^
/tmp/code.d:4:29: error: undefined identifier s
 for(i=0;i<50;i++)write(s[i]&s[i+5]&s[i+12]&s[i+17]);
                             ^
/tmp/code.d:4:36: error: undefined identifier s
 for(i=0;i<50;i++)write(s[i]&s[i+5]&s[i+12]&s[i+17]);
                                    ^
/tmp/code.d:4:44: error: undefined identifier s
 for(i=0;i<50;i++)write(s[i]&s[i+5]&s[i+12]&s[i+17]);
                                            ^
/root/script: 7: /root/script: /tmp/code: not found
rm: cannot remove '/tmp/code': No such file or directory

strace