/ Test /

Record Case Detail

Notes

This function is in beta test. Please help improve it in the issues here.

Stderr


        

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

>> uncomment
>> comment
>> like
Error: generated-5 cannot like post #1 of generated-2!
generated-5 has already like post #1 of generated-2.
>> comment
>> follow
>> comment
>> uncomment
Error: generated-3 cannot uncomment comment #2 of post #2 posted by generated-4!
generated-4 does not have post #2.
>> uncomment
Error: generated-3 cannot uncomment comment #3 of post #2 posted by generated-2!
generated-3 is not the owner of comment #3.
>> post
>> refresh
generated-3
generated-3 post-1
generated-3 post-1 content
Tags: tag-16 tag-5 
Likes: 2
Comments:
generated-2: generated-3 post-1 comment-1
- - - - - - - - - - - - - - -
generated-3
generated-3 post-2
generated-3 post-2 content
Tags: tag-20 tag-15 
Likes: 1
Comments:
generated-3: generated-3 post-2 comment-1
generated-1: generated-3 post-2 comment-2
generated-2: generated-3 post-2 comment-3
- - - - - - - - - - - - - - -
generated-3
generated-3 post-3
generated-3 post-3 content
Tags: tag-13 
Likes: 5
Comments:
generated-5: generated-3 post-3 comment-1
generated-

JOJ Answer

>> uncomment
>> comment
>> like
Error: generated-5 cannot like post #1 of generated-2!
generated-5 has already liked post #1 of generated-2.
>> comment
>> follow
>> comment
>> uncomment
Error: generated-3 cannot uncomment comment #2 of post #2 posted by generated-4!
generated-4 does not have post #2.
>> uncomment
Error: generated-3 cannot uncomment comment #3 of post #2 posted by generated-2!
generated-3 is not the owner of comment #3.
>> post
>> refresh
generated-3
generated-3 post-1
generated-3 post-1 content
Tags: tag-16 tag-5 
Likes: 2
Comments:
generated-2: generated-3 post-1 comment-1
- - - - - - - - - - - - - - -
generated-3
generated-3 post-2
generated-3 post-2 content
Tags: tag-20 tag-15 
Likes: 1
Comments:
generated-3: generated-3 post-2 comment-1
generated-1: generated-3 post-2 comment-2
generated-2: generated-3 post-2 comment-3
- - - - - - - - - - - - - - -
generated-3
generated-3 post-3
generated-3 post-3 content
Tags: tag-13 
Likes: 5
Comments:
generated-5: generated-3 post-3 comment-1
generated