![]() |
||||||||||
|
||||||||||
EditorTime Limit: 3000/2000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 11275 Accepted Submission(s): 2451 Problem Description ![]() Sample Input
Sample Output
Hint The following diagram shows the status of sequence after each instruction: ![]() Source | ||||||||||
|