Hack
Now
EN
Login
Register
HackNow
Bir xil mod qoldiqli juftliklar | HackNow
Go back
Reading Mode
Problem
Submissions
Bir xil mod qoldiqli juftliklar
lock
UZ only
O'rta
25 points
1500 ms
256 MB
Input format
Output format
Constraints
Examples
2
1
Example #1
Input
5 3 1 2 3 4 5
Output
3
2
Example #2
Input
4 2 2 2 2 2
Output
10
Solution editor
Python 3
Clear
Language
PYTHON
UTF-8
Tab
4 spaces
Ctrl
+
Enter
Submit
Submit