Why does the C language problem run correctly? OJ submission error, thank you!

Is the output format wrong? His input is continuous, and your output is the output after a sample input, which does not meet the output conditions.

-

The output includes t lines, each corresponding to the result of the example. If there are six stars, output "Yes", otherwise output "No" (each row or column has six consecutive stars on each diagonal)

-

It seems that we should first cache the results of each sample according to the number of t's entered, then perform the judgment of all examples and output one result per line again.

Then why are you in scanf ("%d% d \ n ",&; n & amp; m); Why do you want to add "\n" after format control?