Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Mar 23rd, 2015
1,163
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
C++
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
int
stairs
(
int
n
)
{
vector
<
long
>
q
(
n
+
1
,
0
)
;
q
[
0
]
=
1
;
for
(
int
i
=
1
;
i
<=
n
;
++
i
)
{
for
(
int
j
=
n
;
j
>=
i
;
--
j
)
{
q
[
j
]
+
=
q
[
j
-
i
]
;
}
}
return
q
[
n
]
;
}
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
⭐⭐⭐Make $1500 in 20 minutes⭐⭐⭐
Java | 2 sec ago | 0.17 KB
⭐✅ Exploit 2500$ in 15 Minutes S
JavaScript | 4 sec ago | 0.27 KB
⭐ Free Crypto Method ✅ NEVER SEEN BEFORE ⭐
JavaScript | 8 sec ago | 0.25 KB
Free Crypto Method (NEVER SEEN BEFORE)⭐ G
JavaScript | 11 sec ago | 0.27 KB
⭐⭐⭐MAKE $900 INSTANTLY⭐⭐⭐
Java | 13 sec ago | 0.17 KB
⭐Swapzone Glitch ✅ Working⭐ Q
JavaScript | 18 sec ago | 0.27 KB
✅⭐ Make huge profits on trading ⭐
JavaScript | 20 sec ago | 0.25 KB
⭐⭐⭐Profit Method⭐⭐⭐
Java | 24 sec ago | 0.17 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!