Input 1 4 3 3 53 3 2 1 3 2 1 4 1 2 1 4 2 4 3 4 2 1 3 3 2 1 3 3 2 2 1 3 2 3 1 2 1 1 3 1 1 1 1 1 3 4 3 2 2 2 1 1 1 4 2 3 1 3 3 4 2 2 1 1 1 3 1 2 3 2 3 1 3 1 1 1 2 2 2 4 1 4 3 1 2 3 1 2 1 3 3 3 3 2 1 2 2 3 2 1 1 3 1 4 2 3 2 4 3 4 2 Expected Output 81 Stress testing completedUpdate Logs
Note: You can also use F5 to update the logs. This would also retain cursor position while scrolling.