@[MYXaoiing](/user/1163927)
```
for(int i=1,x,y;i<=M&&cnt<N;i++){ // || -> &&
```
by Manki233 @ 2024-08-24 16:32:30
```cpp
for(int i=1,x,y;i<=M||cnt<N;i++)
```
改为
```cpp
for(int i=1,x,y;i<=M;i++)
```
就能过。。。原因不清楚
by small_moon @ 2024-08-24 16:32:43
@[Manki233](/user/871004) 谢谢
by F1NE @ 2024-08-24 16:33:10
(int i=1,x,y;i<=M;i++)用这个
by Qinglan2011 @ 2024-08-24 16:33:29
@[MYXaoiing](/user/1163927)
by Qinglan2011 @ 2024-08-24 16:34:03