Advertisement
Guest User

Untitled

a guest
Jan 31st, 2015
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. [SIZE=1][SIZE=2]Tuttavia il tempo di esecuzione lascia [B]molto[/B] a desiderare:
  2. [CODE]
  3. [COLOR=#000080][B]for[/B][/COLOR] i=[COLOR=#008080]1[/COLOR],[COLOR=#008080]40[/COLOR],[COLOR=#008080]1[/COLOR] do
  4. [COLOR=#000080]print[/COLOR](fib(i))
  5. [B][COLOR=#000080]end[/COLOR][/B]
  6. [COLOR=#000080]print[/COLOR]([COLOR=#000080]os.clock[/COLOR]())[/SIZE][/SIZE][SIZE=1][SIZE=2][COLOR=#006400]-->45.985 secondi (sul mio computer)[/COLOR]
  7. [/SIZE][/SIZE][/CODE]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement