Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [SIZE=1][SIZE=2]Tuttavia il tempo di esecuzione lascia [B]molto[/B] a desiderare:
- [CODE]
- [COLOR=#000080][B]for[/B][/COLOR] i=[COLOR=#008080]1[/COLOR],[COLOR=#008080]40[/COLOR],[COLOR=#008080]1[/COLOR] do
- [COLOR=#000080]print[/COLOR](fib(i))
- [B][COLOR=#000080]end[/COLOR][/B]
- [COLOR=#000080]print[/COLOR]([COLOR=#000080]os.clock[/COLOR]())[/SIZE][/SIZE][SIZE=1][SIZE=2][COLOR=#006400]-->45.985 secondi (sul mio computer)[/COLOR]
- [/SIZE][/SIZE][/CODE]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement