摘要: 快速幂模板: 例题:hdu 1097 #include<iostream> #include<cstdio> #include<cstring> #include<algorithm> #include<cmath> using namespace std; typedef long long ll 阅读全文
posted @ 2017-09-22 21:41 ╰追憶似水年華ぃ╮ 阅读(237) 评论(0) 推荐(0)
摘要: Problem Description We define a sequence F:⋅ F0=0,F1=1;⋅ Fn=Fn−1+Fn−2 (n≥2).Give you an integer k, if a positive number n can be expressed byn=Fa1+Fa2 阅读全文
posted @ 2017-09-22 21:40 ╰追憶似水年華ぃ╮ 阅读(229) 评论(0) 推荐(0)