摘要:
链接:https://ac.nowcoder.com/acm/contest/5672/H 来源:牛客网 题目描述: The following rules define a kind of integer tuple - the Legend Tuple: (1, k) is always a L 阅读全文
摘要:
题目描述: Groundhog was especially careful after the outbreak,so he put on his mask in the 1st1^{st}1st bedroom early,and then walked on the way to the nt 阅读全文
摘要:
链接:https://ac.nowcoder.com/acm/contest/5674/C来源:牛客网 题目描述: 求 分析: 代码如下: #include<bits/stdc++.h> using namespace std; const long long mod=998244353; int 阅读全文
摘要:
链接:https://ac.nowcoder.com/acm/contest/5674/F来源:牛客网 题目描述 : Groundhog finds that Apple seems to be less intimate than before. He is very distressed for 阅读全文
摘要:
题目描述: 分析: 就是把不同的数当成图中的点。二元组 (ai,b) 当成是一条边。 然后就没有然后了。 #include <bits/stdc++.h> using namespace std; const int N=2e5+10; int T,n,cas,sz[N],f[N]; int fin 阅读全文