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