In the event of technical difficulties with Szkopuł, please contact us via email at firstname.lastname@example.org.
If you are familiar with IRC chat, the support team is also reachable on PIRC network (
#szkopul channel. If you are not, just use email.
Please do not ask us things like "how to solve task XYZ?".
Please remember that the support team has to sleep sometimes or go to work in real life.
You are given a sequence of integers . You should determine the number of such ordered pairs , that , and is a divisor of .
The first line of input contains one integer (). The second line contains a sequence of integers ().
In the first and only line of output should contain one integer, denoting the number of pairs sought.
For the input data:
5 2 4 5 2 6
the correct result is:
Explanation of the example: There are pars with the specified properties: , , , , , .
Task author: Jakub Lacki.<Submit a solution> [0/1]