Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Dec 14th, 2018
101
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.22 KB
| None
|
0
0
raw
download
clone
embed
print
report
int lucas(int x){
int luca[50] = {2,1};
int i;
if (x == 0) return 2;
if (x == 1) return 1;
for(i=0;i<=x;i++){
luca[i] = luca[i-1] + luca[i-2];
}
return luca[x];
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
Lua | 10 min ago | 0.62 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 💰
GetText | 31 min ago | 0.38 KB
Untitled
PHP | 32 min ago | 15.24 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 32 min ago | 0.39 KB
pointer.c
C | 2 hours ago | 0.92 KB
TreeManager.cs
C# | 2 hours ago | 2.33 KB
TreeDrawer.cs
C# | 2 hours ago | 5.62 KB
Полная Замена всех Авто в POLICE LosSantos
C# | 2 hours ago | 6.30 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!