Notes
This function is in beta test. Please help improve it in the issues
here.
Hints
Your answer may be identical to the JOJ answer in the first several lines.
However, you will still get Wrong Answer because the complete output may be longer and there might be errors in the future lines.
Please double check your code to solve this problem and try again.
Your Answer
0 ***End*** 1 Delete key is 11 ***End*** 2 Delete key is 28 ***End*** 3 ***End*** 4 Insert key is 20, value is 12 ***End*** 5 Delete key is 11 ***End*** 6 ***End*** 7 ***End*** 8 Delete key is 24 ***End*** 9 Insert key is 22, value is 29 ***End*** 10 Delete key is 21 ***End*** 11 ***End*** 12 ***End*** 13 ***End*** 14 Delete key is 1 ***End*** 15 Delete key is 17 ***End*** 16 Delete key is 12 ***End*** 17 The value is 29. ***End*** 18 Insert key is 26, value is 9 ***End*** 19 ***End*** 20 Delete key is 13 ***End*** 21 Delete key is 30 ***End*** 22 Insert key is 26, value is 3 ***End*** 23 ***End*** 24 ***End*** 25 Delete key is 10 ***End*** 26 ***End*** 27 ***End*** 28 ***End*** 29 ***End*** 30 The value is 29. ***End*** 31 The value is 29. ***End*** 32 Delete key is 16 ***End*** 33 ***End*** 34 Insert key is 29, value is 5 ***End*** 35 The value is 3. ***End*** 36 ***End*** 37 Insert key is 20, value is 17 ***End*** 38 Delete key is 13 ***End*** 39 Insert key is 2, value is 3 ***End*** 40 ***End*** 41 Insert
JOJ Answer
0 ***End*** 1 ***End*** 2 ***End*** 3 ***End*** 4 ***End*** 5 ***End*** 6 ***End*** 7 ***End*** 8 ***End*** 9 ***End*** 10 ***End*** 11 ***End*** 12 ***End*** 13 ***End*** 14 ***End*** 15 ***End*** 16 ***End*** 17 The value is 29. ***End*** 18 ***End*** 19 ***End*** 20 ***End*** 21 ***End*** 22 ***End*** 23 ***End*** 24 ***End*** 25 ***End*** 26 ***End*** 27 ***End*** 28 ***End*** 29 ***End*** 30 The value is 29. ***End*** 31 The value is 29. ***End*** 32 ***End*** 33 ***End*** 34 ***End*** 35 The value is 3. ***End*** 36 ***End*** 37 ***End*** 38 ***End*** 39 ***End*** 40 ***End*** 41 ***End*** 42 ***End*** 43 ***End*** 44 ***End*** 45 ***End*** 46 The value is 10. ***End*** 47 ***End*** 48 ***End*** 49 The value is 10. ***End*** 50 ***End*** 51 ***End*** 52 ***End*** 53 ***End*** 54 ***End*** 55 ***End*** 56 ***End*** 57 ***End*** 58 ***End*** 59 ***End*** 60 The value is 3. ***End*** 61 ***End*** 62 ***End*** 63 ***End*** 64 ***End*** 65 ***End*** 66 ***End*** 67 The value is 30. ***End*** 68 ***End*** 69