Tennis Game
496D1900· candidate master2s256 MB⌨ stdin/stdout
Examples
Sample 1of 4
Input
51 2 1 2 1
Output
21 33 1
Sample 2of 4
Input
41 1 1 1
Output
31 42 24 1
Sample 3of 4
Input
41 2 1 2
Output
0
Sample 4of 4
Input
82 1 2 1 1 1 1 1
Output
31 62 36 1
58%
496D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)