【NOIP2018提高组D2T2】填数游戏
此题较为特殊,有两种打法
1.打表过
2.正解
打表的:
#include<bits/stdc++.h>
using namespace std;
#define mo 1000000007ll
typedef long long ll;
ll n,m,ans1[20],ans2[20];
ll qp(ll x,ll y){
if(!y)return 1;
if(y==1)re...
原创
2018-12-15 16:38:47 ·
500 阅读 ·
0 评论