#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #define debug puts("-----") #define pi (acos(-1.0)) #define eps (1e-8) #define inf (1<<30) #define INF (1ll<<62) using namespace std; const int tot=4*128; string score[tot][4]; int main() { // freopen("fz_first_song.txt","r",stdin); freopen("fz_second_song.txt","r",stdin); // freopen("fz_third_song.txt","r",stdin); char s[10005]; for (int i=0; i<40; i++) gets(s); int blocknum=0; for (int sec=0; sec<4; sec++) { string state[4]; string name[4]; for (int i=0; i<128; i++) { gets(s); name[0]=string(s+9,s+12); name[1]=string(s+24,s+27); name[2]=string(s+39,s+42); name[3]=string(s+54,s+57); for (int k=0; k<4; k++) score[sec*128+i][k]=name[k]; } gets(s); gets(s); } int k; int flag; string ret; int li; int outflag; ///go li=0; k=0; flag=0; ret=""; outflag=0; cout<<"Pulse1: "; for (int i=0; i