Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
3833
Dari_
Feb 19th, 2019
127
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.15 KB
| None
|
0
0
raw
download
clone
embed
print
report
nums
=
list
(
map
(
int
,
input
(
)
.
split
(
)
)
)
res
=
0
for
i
in
range
(
1
,
len
(
nums
)
-
1
)
:
if
nums
[
i-
1
]
<
nums
[
i
]
>
nums
[
i+
1
]
:
res +
=
1
print
(
res
)
Add Comment
Please,
Sign In
to add comment
Public Pastes
⭐GET ANY GIFT-CÂRD FOR FREE⭐ MZ
JavaScript | 3 min ago | 0.06 KB
⭐ giftcards for free
JavaScript | 3 min ago | 0.05 KB
Node JS IRC Bot
JavaScript | 5 min ago | 22.60 KB
⭐ Make $300 per hour L3
JavaScript | 7 min ago | 0.06 KB
⭐ get any gift card for FREE
JavaScript | 9 min ago | 0.05 KB
⭐ get any gift card for FREE
JavaScript | 10 min ago | 0.05 KB
⭐ 500$ For 45 Minutes KM
JavaScript | 11 min ago | 0.06 KB
⭐GET ANY GIFT-CÂRD FOR FREE⭐ HZ
JavaScript | 14 min ago | 0.06 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!