Lunar New Year and Number Division
1106C900· newbie2s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
48 5 2 3
Output
164
Sample 2of 2
Input
61 1 1 2 2 2
Output
27
58%
1106C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
48 5 2 3
164
61 1 1 2 2 2
27