#include #include typedef struct{ int left; int right; }t_mate; int main(){ int input_n, input_k; char *ps; t_mate *pmate; int i, j, k; int checkmate; int ans; scanf("%d %d", &input_n, &input_k); ps=(char*)malloc(input_n*sizeof(char)); pmate=(t_mate*)malloc(input_n/2*sizeof(t_mate)); for(i=0; i