|
|
back to boardShow all messages Hide all messagesFor example,if the text is: 3 1 2 3 you should output -1. Because there wasn't such sequence in the table! i think it is 7 times. 1-> 3, 1 (III) 2-> 2, (I) 1-> 2, 1 (I) 3-> 3 (II) 1-> 1 (III) 2-> 3, 2 (II) 1-> 3, 2, 1(II). |
|
|