洛谷 U45568 赌神:决斗
摘要:题目描述 \mathcal{tomoo}tomoo决定与\mathcal{CYJian}CYJian进行决斗! 已知\mathcal{tomoo}tomoo有\mathcal{N}N张扑克牌,每张扑克牌有一个\mathcal{RP}RP值\mathcal{A_i}Ai,\mathcal{CYJia
阅读全文
JZOJ 4742. 单峰
摘要:Description Input Output Sample Input Sample Input 2 Sample Output 2 Data Constraint 做法:打标可以发现这道题是结论题,答案为2^(n-1),所以快速幂就好了。 1 #include <cstdio> 2 #incl
阅读全文