Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
3833
Dari_
Feb 19th, 2019
259
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
config
Batch | 49 sec ago | 0.38 KB
config.py
2 min ago | 0.37 KB
startup.lua
Lua | 3 hours ago | 0.33 KB
BIP32
8 hours ago | 0.35 KB
OoT rando seed 12/2
9 hours ago | 109.60 KB
Change your mindset
12 hours ago | 0.08 KB
Untitled
13 hours ago | 0.52 KB
P4IGNORE for Unreal Development
14 hours ago | 2.10 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!