#D7763. Decimal Sequences
Decimal Sequences
Decimal Sequences
Example
Input
3 3 0 1
Output
2
inputFormat
Input
3 3 0 1
outputFormat
Output
2
样例
3
3 0 1
2
Example
Input
3 3 0 1
Output
2
Input
3 3 0 1
Output
2
3
3 0 1
2
By signing up a OpenJudge universal account, you can submit code and join discussions in all online judging services provided by us.