#include <stdio.h>
#include <stdlib.h>
#include <time.h>
int main( void )
{
int i, mask, score;
unsigned int bits;
bits = 0;
for( i = 0 ; i < 20 ; i++ ){
bits <<= 1;
}
score = 0;
mask = 0x1F;
for( i = 0 ; i < 4 ; i++ ){
switch ( bits >> i*5 & mask ){
case 0x01:case 0x02:case 0x04:
case 0x06:case 0x08:case 0x09:
case 0x0B:case 0x0D:case 0x0E:
case 0x10:case 0x12:case 0x14:
case 0x15:case 0x17:case 0x19:
case 0x1A:case 0x1C:case 0x1E:
score += 10;
break;
}
}
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxzdGRsaWIuaD4KI2luY2x1ZGUgPHRpbWUuaD4KCmludCBtYWluKCB2b2lkICkKewogICAgaW50IGksIG1hc2ssIHNjb3JlOwoJdW5zaWduZWQgaW50IGJpdHM7CgkKCXNyYW5kKHRpbWUoTlVMTCkpOwoJYml0cyA9IDA7Cglmb3IoIGkgPSAwIDsgaSA8IDIwIDsgaSsrICl7CgkJYml0cyArPSByYW5kKCkgJSAyOwoJCWJpdHMgPDw9IDE7Cgl9CgkKCXNjb3JlID0gMDsKCW1hc2sgPSAweDFGOwoJZm9yKCBpID0gMCA7IGkgPCA0IDsgaSsrICl7CgkJc3dpdGNoICggYml0cyA+PiBpKjUgJiBtYXNrICl7CgkJCWNhc2UgMHgwMTpjYXNlIDB4MDI6Y2FzZSAweDA0OgoJCQljYXNlIDB4MDY6Y2FzZSAweDA4OmNhc2UgMHgwOToKCQkJY2FzZSAweDBCOmNhc2UgMHgwRDpjYXNlIDB4MEU6CgkJCWNhc2UgMHgxMDpjYXNlIDB4MTI6Y2FzZSAweDE0OgoJCQljYXNlIDB4MTU6Y2FzZSAweDE3OmNhc2UgMHgxOToKCQkJY2FzZSAweDFBOmNhc2UgMHgxQzpjYXNlIDB4MUU6CgkJCQlzY29yZSArPSAxMDsKCQkJCWJyZWFrOwoJCX0KCX0KCXByaW50Zigi5Lmx5pWwKDEw77yJJWRcbiIsIGJpdHMpOwoJcHJpbnRmKCIlZOeCuVxuIiwgc2NvcmUpOwoJCglyZXR1cm4gMDsKfQ==