CodePudding user response:
A look at the screenshots will know that there is something wrong with the comma, when the input data of a comma in English, don't use Chinese comma,Or the scanf to the scanf (" % d % d ", & amp; X, & amp; Y);//there is no comma
The input data when two data can be separated by Spaces