社区讨论
勿信本题数据范围约定!!
P3168[CQOI2015] 任务查询系统参与者 8已保存回复 12
讨论操作
快速查看讨论及其快照的属性,并进行相关操作。
- 当前回复
- 12 条
- 当前快照
- 1 份
- 快照标识符
- @lrafrmdx
- 此快照首次捕获于
- 2024/01/12 17:28 2 年前
- 此快照最后确认于
- 2024/01/12 20:51 2 年前
rt,交上只有1个点符合要求
CPP#include<bits/stdc++.h>
using namespace std;
int main(){
int n,m,a,b,c,x,k;
ios::sync_with_stdio(0),cin.tie(0),cout.tie(0);
cin>>n>>m,k=n;
while(n--) cin>>a>>b>>c;
while(m--){
cin>>x,cin>>a>>b>>c;
if(a<1||a>k) while(1);
if(b<1||b>k) while(1);
if(c<1||c>k) while(1);
}
return 0;
}
回复
共 12 条回复,欢迎继续交流。
正在加载回复...