cf/mirror

Polycarpus' Dice

CF
534C1600· expert1s256 MB⌨ stdin/stdout
#math

Examples

Sample 1of 3
Input
2 8
4 4
Output
3 3
Sample 2of 3
Input
1 3
5
Output
4
Sample 3of 3
Input
2 3
2 3
Output
0 1
534C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)