Hi all,I am a beginner coder,I was solving this problem 734 A Division 2 Anton and danik,Everytime,I am trying To execute this problem ,I am getting "Memory Limit Exceeded",What does that mean,Is that like compilation Error ,Here is My solution http://codeforces.com/contest/734/submission/34217320 ,Please help
Your programm used too much memory. Your code:
You have initialized array
ch
before you had scannedn
. Try to do this:Better, do this: