백준/스택
스택을 활용한 문제다.
int로 해서 너무 많이 틀렸다.. 다음엔 무조건 long long으로 할 생각을 해야겠다.
링크 : http://boj.kr/1e237bd91314454386a2b06245bfdb7f