摘要: priority_queue<int>que//默认最大的先出来 priority_queue<int,vector<int>,greater<int> >que;///最小的先出来 struct node{ int x,y; bool operator < (const node &b)const 阅读全文
posted @ 2019-09-02 23:18 starve_to_death 阅读(199) 评论(0) 推荐(1) 编辑
摘要: https://nanti.jisuanke.com/t/41299 分析:题目给出a,b,mod求满足条件的最小a,由题目的式子得,每次只要能递归下去,b就会+1,所以就可以认为b其实是次数,什么的次数?对数函数的反函数。。。。即题目求a的a次方的a次方.....一直搞b次后求得的答案。 #inc 阅读全文
posted @ 2019-09-02 18:53 starve_to_death 阅读(681) 评论(0) 推荐(0) 编辑