CF 1973E - Cat, Fox and Swaps

Codeforces 1973E: Cat, Fox and Swaps

CF 1973E - Cat, Fox and Swaps

Rating: 2500
Tags: graphs, math, sortings
Solve time: 5m 15s
Verified: no

Solution