跳到正文

题解

P3798题解

#SUSPENDED#约 1 分钟
原文
文章信息与版本

文章信息

收录
2026年2月24日
更新
2026年2月24日
篇幅
约 1 分钟
题目
P3798

版本

  1. v1当前
C++
#include<bits/stdc++.h>
using namespace std;

int main(){
	freopen("game0.out","w",stdout);
	cout<<"0\n2";
	freopen("game1.out","w",stdout);
	cout<<"783128081";
	freopen("game2.out","w",stdout);
	cout<<"8";
	freopen("game3.out","w",stdout);
	cout<<"3932100\n3670024";
	freopen("game4.out","w",stdout);
	cout<<"143360";
	freopen("game5.out","w",stdout);
	cout<<"2932";
	freopen("game6.out","w",stdout);
	cout<<"32";
	freopen("game7.out","w",stdout);
	cout<<"164";
	freopen("game8.out","w",stdout);
	cout<<"1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 0.74";
	freopen("game9.out","w",stdout);
	cout<<"5468";
	return 0;
}
原文