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
>> trending 1 tag-8: 39 2 tag-18: 37 3 tag-3: 36 4 tag-12: 33 5 tag-13: 25 6 tag-5: 25 7 tag-1: 23 8 tag-14: 21 9 tag-10: 16 10 tag-15: 15 >> trending 1 tag-8: 39 2 tag-18: 37 3 tag-3: 36 4 tag-12: 33 5 tag-13: 25 >> unfollow >> unfollow >> like >> trending 1 tag-8: 39 2 tag-18: 37 3 tag-3: 36 4 tag-12: 34 5 tag-13: 25 6 tag-5: 25 7 tag-1: 23 8 tag-14: 21 9 tag-10: 16 10 tag-15: 15 11 tag-20: 15 12 tag-16: 10 >> trending 1 tag-8: 39 2 tag-18: 37 3 tag-3: 36 4 tag-12: 34 5 tag-13: 25 6 tag-5: 25 7 tag-1: 23 8 tag-14: 21 9 tag-10: 16 10 tag-15: 15 11 tag-20: 15 12 tag-16: 10 >> follow >> follow >> comment Error: generated-5 cannot comment post #2 of generated-4! generated-4 does not have post #2. >> unlike >> visit generated-1 Followers: 2 Following: 2 >> post >> refresh generated-1 generated-1 post-1 generated-1 post-1 content Tags: tag-5 Likes: 1 Comments: generated-1: generated-1 post-1 comment-1 generated-3: generated-1 post-1 comment-2 generated-1: generated-1 post-1 comment-3 - - - - - - - - - - - - - -
JOJ Answer
>> trending 1 tag-8: 39 2 tag-18: 37 3 tag-3: 36 4 tag-12: 33 5 tag-13: 25 6 tag-5: 25 7 tag-1: 23 8 tag-14: 21 9 tag-10: 16 10 tag-15: 15 >> trending 1 tag-8: 39 2 tag-18: 37 3 tag-3: 36 4 tag-12: 33 5 tag-13: 25 >> unfollow >> unfollow >> like >> trending 1 tag-8: 39 2 tag-18: 37 3 tag-3: 36 4 tag-12: 34 5 tag-13: 25 6 tag-5: 25 7 tag-1: 23 8 tag-14: 21 9 tag-10: 16 10 tag-15: 15 11 tag-20: 15 12 tag-16: 10 >> trending 1 tag-8: 39 2 tag-18: 37 3 tag-3: 36 4 tag-12: 34 5 tag-13: 25 6 tag-5: 25 7 tag-1: 23 8 tag-14: 21 9 tag-10: 16 10 tag-15: 15 11 tag-20: 15 12 tag-16: 10 >> follow >> follow >> comment Error: generated-5 cannot comment post #2 of generated-4! generated-4 does not have post #2. >> unlike >> visit generated-1 Followers: 2 Following: 2 >> post >> refresh generated-1 generated-1 post-1 generated-1 post-1 content Tags: tag-5 Likes: 1 Comments: generated-1: generated-1 post-1 comment-1 generated-3: generated-1 post-1 comment-2 generated-1: generated-1 post-1 comment-3 - - - - - - - - - - - - - -