spoj ascdfib – Ascending Fibonacci Numbers

nice problem,

the usual algorithm works in C++ with counting sort. but if you want to make it in the python or to improve c++ speed, you have to use pisano number of 100000 which is 150000.

here’s my code

https://gist.github.com/a9f12fd6698ef998a54f

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s