← 返回 roblox 的题目列表Identify Bot IPs from Logs
类型:online_judge
roblox
Given an input string, where each line contains a timestamp and an IP address. Determine which IP addresses are bots based on a given threshold. Output all IP addresses identified as bots. As a follow-up, given a list of timestamps and IPs, dynamically determine whether an incoming IP address is a bot.
Example
Input
2023-10-01 10.00.00 192.168.1.1
2023-10-01 10.01.00 192.168.1.1
2023-10-01 10.02.00 192.168.1.2
3