Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
C++ fibonacci
a guest
Jul 19th, 2016
150
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
C++
0.19 KB
| None
|
0
0
raw
download
clone
embed
print
report
#include <iostream>
inline
long
do_test
(
long
num
)
{
return
num
<
2
?
num
:
do_test
(
num
-
1
)
+
do_test
(
num
-
2
)
;
}
int
main
(
)
{
std
::
cout
<<
do_test
(
45
)
<<
"
\n
"
;
return
0
;
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
ftp-lua
Lua | 51 sec ago | 4.12 KB
News April24 24
Email | 14 min ago | 23.78 KB
2024-04-24_stats.json
JSON | 15 min ago | 4.21 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 16 min ago | 0.39 KB
2024-04-24_stats.json
JSON | 17 min ago | 4.21 KB
2024-04-24_stats.json
JSON | 18 min ago | 4.17 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 💰
GetText | 28 min ago | 0.38 KB
[ GUI ] /zeton książka
Java | 42 min ago | 0.66 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!