Nash equilibrium
1302A2s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
4 41 2 3 41 2 3 51 2 3 62 3 5 7
Output
1 4
Sample 2of 2
Input
3 57 7 7 7 77 7 7 7 77 7 7 7 7
Output
0 0
58%
1302A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
4 41 2 3 41 2 3 51 2 3 62 3 5 7
1 4
3 57 7 7 7 77 7 7 7 77 7 7 7 7
0 0