Rating:

二進数みたいな形式で何かが与えられているのでパースするとフラグがでてきた。

    
#include <iostream>
using namespace std;
 
int main(){
    char tmp=0;
    int count=0;
 
    while(!cin.eof()){
        char t;
        cin>>t;
 
        if (t=='0' || t=='1'){
            count++;
            tmp=(tmp<<1)+(t-'0');
 
            if(count%8==0){
                cout<<tmp;
                tmp=0;
            }
        }
    }
}

Original writeup (https://blog.nhiroki.net/2016/08/27/icectf-2016-writeup).