注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号 
x
Complete the functions described below in the NewsProvider class. Keep in mind that:- If any constraint is violated when performing an operation, the operation must fail.
- If a constraint is said to be "guaranteed", you may assume it is never violated.
- Timestamps are represented as number of seconds since the Unix Epoch (Jan 1, 1970 UTC), using floating-point values valid to the millisecond precision. They topics is a list of news topics this subscription should consider.
- Input constraints:
- 1 ≤ id < 232
- 1 s minInterest < 232,
- 1 ≤ maxNewsPerSecond < 212.
还有个简单题
|