#include<stdio.h>#include<math.h>void find(int n,int &l,int &r,int &level){ int i; level=1; for(i=1;;i+=2) { if(n-i<=0) { ...
#include <stdio.h>int fib(int m){int n_2=1,n_1=2,n,i;if(m==0)return 1;if(m==1)return 2;for
//c//https://github.com/WEIZIBIN/acm/blob/master/hdu1005.c#include <stdio.h>int main(){int i, result, a, b, j;long n;int f[50] = {0};f[1] = 1;f[2] = 1;...