Timeline for answer to Fibonacci reversed! by dainichi
Current License: CC BY-SA 3.0
Post Revisions
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 24, 2016 at 7:32 | comment | added | Leaky Nun |
int c(int n){int a=0,b=1,c=0;for(;a<n;b+=a,a=b-a)c++;return c;} (not tested)
|
|
| Jul 24, 2016 at 7:31 | comment | added | Leaky Nun |
int c(int n){int a=0,b=1,c=0;while(a<n){c++;b+=a;a=b-a;}return c;} (not tested)
|
|
| Jul 24, 2016 at 7:21 | comment | added | Leaky Nun |
int c(int n){int a=0,b=1,c=0,t;for(;a<n;t=b,b+=a,a=t)c++;return c;} (not tested)
|
|
| Jul 24, 2016 at 7:20 | comment | added | Leaky Nun | Welcome to PPCG, nice first answer! | |
| Jul 24, 2016 at 6:34 | review | First posts | |||
| Jul 24, 2016 at 8:48 | |||||
| Jul 24, 2016 at 6:30 | history | answered | dainichi | CC BY-SA 3.0 |