锘??xml version="1.0" encoding="utf-8" standalone="yes"?>久久综合精品国产二区无码,久久91综合国产91久久精品,久久精品99久久香蕉国产色戒http://m.shnenglu.com/goAheadtw/category/15894.htmlhahazh-cnWed, 19 Jan 2011 03:26:48 GMTWed, 19 Jan 2011 03:26:48 GMT60榻愯偗澶氬か瀹氱悊http://m.shnenglu.com/goAheadtw/articles/138755.htmltwtwTue, 18 Jan 2011 07:42:00 GMThttp://m.shnenglu.com/goAheadtw/articles/138755.htmlhttp://m.shnenglu.com/goAheadtw/comments/138755.htmlhttp://m.shnenglu.com/goAheadtw/articles/138755.html#Feedback0http://m.shnenglu.com/goAheadtw/comments/commentRss/138755.htmlhttp://m.shnenglu.com/goAheadtw/services/trackbacks/138755.html/*
榻愯偗澶氬か瀹氱悊琛ㄧず浠諱綍姝f暣鏁伴兘鍙互琛ㄧず鎴愯嫢騫蹭釜涓嶈繛緇殑鏂愭嘗閭e鏁頒箣鍜屻傝繖縐嶅拰寮忕О涓洪綈鑲澶〃榪版硶銆?br>瀵逛簬浠諱綍姝f暣鏁幫紝鍏墮綈鑲澶〃榪版硶閮藉彲浠ョ敤璐績綆楁硶閫夊嚭姣忓洖鏈澶у彲鑳界殑鏂愭嘗閭e鏁般?br>*/
#include <stdio.h>
#include <memory>
#include <iostream>
#include <algorithm>
#include <cstring>
#include <vector>
#include <map>
#include <cmath>
#include <set>
#include <queue>
#include <time.h>
#include <limits>
using namespace std;
#define ull unsigned long long
#define ll long long
#define N 100
ll fab[N], out[N];
int fn;
void init(){
 int i;
 ull inf = 0x7fffffffffffffff;
 ull a;
 fab[0] = 1;
 fab[1] = 2;
 for(i = 2; ; i++){
  a = fab[i-1] + fab[i-2];
  if(a > inf) break;
  fab[i] = a;
 }
 fn = i;
}
int find(ll* fab, int l, int r, ll k){
 int mid;
 while(l <= r){
  mid = (l + r) >> 1;
  if(fab[mid] <= k) l = mid + 1;
  else r = mid - 1;
 }
 return l - 1;
}
void Zeckendorf(ll a){
 if(a <= 0){
  printf("%lld=%lld\n", a, a);
  return;
 }
 ll a0 = a;
 int k = 0, i;
 while(a0 > 0){
  i = find(fab, 0, fn - 1, a0);
  out[k++] = fab[i];
  a0 -= fab[i];
 }
 printf("%lld=", a);
 for(i = 0; i < k-1; i++) printf("%lld+", out[i]);
 printf("%lld\n", out[i]);
}
int main(){
#ifndef ONLINE_JUDGE
 //freopen("in.txt", "r", stdin);
 //freopen("out.txt", "w", stdout);
#endif 
 init();
 ll a;
 while(~scanf("%lld", &a)){
  Zeckendorf(a);
 }
 return 0;
}

 

 



tw 2011-01-18 15:42 鍙戣〃璇勮
]]>
久久久精品人妻一区二区三区蜜桃| 伊人久久大香线蕉av不卡| 情人伊人久久综合亚洲| 久久涩综合| 丰满少妇高潮惨叫久久久| 精品国产乱码久久久久久浪潮 | 久久香蕉国产线看观看乱码| 丰满少妇人妻久久久久久4| 思思久久99热只有频精品66| 777米奇久久最新地址| 三级韩国一区久久二区综合 | 日韩影院久久| 国产精品久久99| 亚洲va中文字幕无码久久| 久久国产香蕉视频| 免费国产99久久久香蕉| 久久久精品人妻一区二区三区四| 国产99久久久国产精品~~牛| 久久99精品久久只有精品| 久久狠狠爱亚洲综合影院| 久久久久九国产精品| 久久成人永久免费播放| 久久国产亚洲精品无码| 亚洲va中文字幕无码久久不卡| 国产精品久久久久蜜芽| 久久久久九九精品影院| 中文字幕成人精品久久不卡| 精品无码久久久久久尤物| 久久香综合精品久久伊人| 色综合久久综合中文综合网| 久久久久久久精品妇女99| 亚洲精品无码专区久久同性男| 国产午夜精品久久久久九九| 91精品国产色综久久| 亚洲国产精品久久| 99精品久久久久久久婷婷| 久久精品国产99久久丝袜| 久久精品国产亚洲精品| 日本国产精品久久| 久久亚洲熟女cc98cm| 久久综合香蕉国产蜜臀AV|