Xcode has limitation of input buffer?

Hi, I'm using C++ in Xcode. when I read 2d array using cin in c++ code, the program have stopped.

and the program stop on 0__read_nocancle file.

I think to edit preference of my Xcode. but I don't have no idea.

somebody help me....

my code is :

#include <iostream>

#include <algorithm>

#include <vector>

#include <stdio.h>

using namespace std;

struct Input{

int row;

int K;

int puzzle[15][15];

};

int SearchPuzzle(Input Input){

int result=0;

for(int i=0;i&lt;Input.row;i++){

    int IsOneRow=0;

    int IsOneCol=0;

    for(int j=0;j&lt;Input.row;j++){

        if (Input.puzzle[i][j]==1)

            IsOneRow++;

        else

        {

            if (IsOneRow==Input.K){

                result++;

                IsOneRow=0;

            }

            else

                IsOneRow=0;

        }

        if (Input.puzzle[j][i]==1)

            IsOneCol++;

        else

        {

            if (IsOneCol==Input.K){

                result++;

                IsOneCol=0;

            }

            else

                IsOneCol=0;

        }

    }

    if (IsOneRow==Input.K)

        result++;

    if (IsOneCol==Input.K)

        result++;

}

return result;

}

int main(){

Input TempInput;

vector&lt;Input> Input;

int TestCase=0;

cin>>TestCase;

for(int i=0;i&lt;TestCase;i++){

    cin>>TempInput.row;

    cin>>TempInput.K;

    for(int j=0;j&lt;TempInput.row;j++){

        for(int k=0;k&lt;TempInput.row;k++){

            cin>>TempInput.puzzle[j][k];

        }

    }

    Input.push_back(TempInput);

}

for(int i=0;i&lt;TestCase;i++){

    cout&lt;&lt;"#"&lt;&lt;i+1&lt;&lt;" "&lt;&lt;SearchPuzzle(Input[i])&lt;&lt;endl;

}

return 0;

}

Input data is 10 5 3 0 0 1 1 1 1 1 1 1 0 0 0 1 0 0 0 1 1 1 1 1 1 1 0 1 5 3 1 0 0 1 0 1 1 0 1 1 1 0 1 1 1 0 1 1 0 1 0 1 1 1 0 8 3 1 1 0 1 0 1 1 1 0 1 0 1 0 0 0 1 1 1 1 0 0 1 0 1 0 1 0 1 0 1 1 1 0 0 0 1 0 1 0 1 1 1 1 1 1 1 0 0 0 1 0 0 0 1 0 1 1 1 1 0 1 1 1 1 8 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