No testdata at current.
No submission language available for this problem.
对 200 这个数情有独钟的苹果先生拜托你来解决这个问题。
给定一个长度为 N 的正整数序列 A,请求出所有满足 1≤i<j≤N 且 Ai−Aj 为 200 的倍数的二元组 (i,j) 的个数。
按照如下格式输入
N
A1 A2 … AN
输出一个整数
6
123 223 123 523 200 2000
4
5
1 2 3 4 5
0
8
199 100 200 400 300 500 600 200
9
By signing up a 西蒙科教 universal account, you can submit code and join discussions in all online judging services provided by us.