P3798题解
hwl0411
·
·
题解
#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;
}