I'm doing old codeforces problems for practice, and a pattern I repeat often in Python is:
(m, n, k) = [int(i) for i in raw_input().split()]
to quickly assign m, n, k because inputs such as
4 2 7
are common in codeforces as a first input line. Is there any way I can do this kind of thing (with multiple variables m, n, k) quickly in Java (preferably 1-2 liner)?
Any help appreciated (or link to somewhere that answers the q). Thanks!