#712B

Codeforces 712B Memory and Trident

B.MemoryandTridenttimelimitpertest:2secondsmemorylimitpertest:256megabytesinput:standardinputoutput:standardoutputMemoryisperformingawalkonthetwo-dimensionalpla...