HDOJ 4699 Editor 对顶栈模拟

Editor
Time Limit: 3000/2000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)
Total Submission(s): 2818 Accepted Submission(s): 825

Problem Description

Sample Input
8 I 2 I -1 I 1 Q 3 L D R Q 2

Sample Output
2 3
Hint
The following diagram shows the status of sequence after each instruction:

posted @ 2019-07-31 09:05  风骨散人  阅读(88)  评论(0编辑  收藏  举报