Problem D: 多条件

Problem D: 多条件

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MiB

Description

给定 L, R, k1, k2,问 [L, R] 内数位中数字 1 的个数 = k1 且 数字 2 的个数 = k2 的数的个数。

Sample Input Copy

1 100 1 1

Sample Output Copy

2