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
>> follow >> 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 11 tag-20: 15 12 tag-16: 10 >> comment Error: generated-5 cannot comment post #2 of generated-5! generated-5 does not have post #2. >> 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 11 tag-20: 15 12 tag-16: 10 >> like Error: generated-2 cannot like post #2 of generated-3! generated-2 has already like post #2 of generated-3. >> like >> visit generated-5 friend Followers: 2 Following: 2 >> like Error: generated-1 cannot like post #3 of generated-3! generated-1 has already like post #3 of generated-3. >> uncomment Error: generated-1 cannot uncomment comment #5 of post #1 posted by generated-4! Post 1 does not have comment #5. >> like >> like >> like >> comment >> trending 1 tag-3: 41 2 tag-8: 40 3 tag-18: 38
JOJ Answer
>> follow >> 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 11 tag-20: 15 12 tag-16: 10 >> comment Error: generated-5 cannot comment post #2 of generated-5! generated-5 does not have post #2. >> 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 11 tag-20: 15 12 tag-16: 10 >> like Error: generated-2 cannot like post #2 of generated-3! generated-2 has already liked post #2 of generated-3. >> like >> visit generated-5 friend Followers: 2 Following: 2 >> like Error: generated-1 cannot like post #3 of generated-3! generated-1 has already liked post #3 of generated-3. >> uncomment Error: generated-1 cannot uncomment comment #5 of post #1 posted by generated-4! Post #1 does not have comment #5. >> like >> like >> like >> comment >> trending 1 tag-3: 41 2 tag-8: 40 3 tag-18: 38