比赛 20250527CSP-S模拟 评测结果
题目名称 星战 最终得分 0
用户昵称 XZDZD 运行时间 0.000 s
代码语言 C++ 内存使用 0.00 MiB
提交时间 2025-05-27 16:01:06
显示代码纯文本
#include<bits/stdc++.h>
#include <cstdio>
#define ll long long
const int N=1e5+5;
using namespace std;
int n,m;
int main(){
    freopen("csp2022_galaxy.in","r",stdin);
    freopen("csp2022_galaxy.out","w",stdout);
	cin>>n>>m;
	for(int i = 1; i<= m ;i++){
		int x, y;
		cin>>x>>y;
	}
	int q;
	cin>>q;
	for(int i = 1; i <= q; i++) {
		cout<<"YES"<<endl;
	}
	return 0;
}