Example 1
Example 2
Example 3
1 <= numberOfUsers <= 1001 <= events.length <= 100events[i].length == 3events[i][0] will be one of MESSAGE or OFFLINE.1 <= int(events[i][1]) <= 105The number of id<number> mentions in any "MESSAGE" event is between 1 and 100.0 <= <number> <= numberOfUsers - 1It is guaranteed that the user id referenced in the OFFLINE event is online at the time the event occurs.Example 1
Example 2
Example 3
1 <= numberOfUsers <= 1001 <= events.length <= 100events[i].length == 3events[i][0] will be one of MESSAGE or OFFLINE.1 <= int(events[i][1]) <= 105The number of id<number> mentions in any "MESSAGE" event is between 1 and 100.0 <= <number> <= numberOfUsers - 1It is guaranteed that the user id referenced in the OFFLINE event is online at the time the event occurs.