Time limit
1000 ms
Memory limit
32768 kB
OS
Windows
Source
Descriptions:

Law of Commutation

HDU - 6189