如果你90ptsWAon#6并且认为你没有问题
查看原帖
如果你90ptsWAon#6并且认为你没有问题
1053122
liruizhou_lihui楼主2025/2/5 13:25
#include<bits/stdc++.h>
using namespace std;
int n,m,t,sx,sy,fx,fy;
int main()
{
	ios::sync_with_stdio(0);
	cin.tie(0);
	cin>>n>>m>>t;
	cin>>sx>>sy>>fx>>fy;
	while(t--)
	{
		int x,y;
		cin>>x>>y;
		if(x==fx && y==fy)
		{
			return 1;
		}
	}
	return 0;
}

REon#6

2025/2/5 13:25
加载中...