摘要:
直接枚举计算就行;#include#include#include#define maxn 22using namespace std;double ans[maxn],p[maxn];bool vis[maxn];int n,r;void dfs(int cur,int cot){ if(c... 阅读全文
摘要:
C题,#include#include#include#define maxn 5005using namespace std;int num[maxn];int rmq(int l,int r){ int ans=1num[i]) { ans=num[i]... 阅读全文