比赛 2025暑期集训第7场 评测结果 W
题目名称 天气预报 最终得分 0
用户昵称 李奇文 运行时间 0.012 s
代码语言 C++ 内存使用 3.70 MiB
提交时间 2025-08-11 17:29:24
显示代码纯文本
#include<bits/stdc++.h>
using namespace std;
int n;
int main(){
	freopen("weather_forecast.in","r",stdin);
	freopen("weather_forecast.out","w",stdout);
	srand(time(0));
	while(cin>>n){
		if(n==0) return 0;
	for(int i=1;i<=n;i++){
		for(int j=1;j<=16;j++){
			int a;
			cin>>a;
		}
	}
	int a=1;
	int b=100;
	int r=a+rand()%(b-a+1);
	cout<<r%2<<endl;
	}
	return 0;
}