Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jun 18th, 2019
98
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.19 KB
| None
|
0
0
raw
download
clone
embed
print
report
n
,
m
=
input
(
)
.
split
(
)
words
=
{
}
point
=
[
0
]
*
int
(
n
)
for
i
in
range
(
int
(
m
)
)
:
t
,
w
=
input
(
)
.
split
(
)
words
[
w
]
=
int
(
t
)
for
t
in
words.
values
(
)
:
point
[
t-
1
]
+
=
1
print
(
*point
)
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
6 hours ago | 1.88 KB
Untitled
6 hours ago | 0.67 KB
Untitled
6 hours ago | 3.33 KB
Untitled
6 hours ago | 1.00 KB
Untitled
6 hours ago | 0.33 KB
Untitled
6 hours ago | 1.55 KB
my software
10 hours ago | 0.03 KB
disable countdown timer in cart for drop pric...
PHP | 14 hours ago | 0.23 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!