Hack
Now
EN
Login
Register
HackNow
Graf bog'liqmi | HackNow
Go back
Reading Mode
bar_chart
Problem
Statistics
send
Total
0
check_circle
AC
0
trending_up
Acceptance
0.0%
timer
Time
0ms
memory
Memory
0.0MB
Problem
Submissions
Graf bog'liqmi
lock
UZ only
Qiyin
100 points
1 s
256 MB
Graph Theory (Basic)
Input format
Output format
Constraints
Examples
1
1
Example #1
Input
4 3 1 2 2 3 3 4
Output
YES
Solution editor
Python 3
Clear
Language
PYTHON
UTF-8
Tab
4 spaces
Ctrl
+
Enter
Submit
Submit