摘要: 题目背景 这是一道ST表经典题——静态区间最大值 请注意最大数据时限只有0.8s,数据强度不低,请务必保证你的每次查询复杂度为 O(1)O(1)。若使用更高时间复杂度算法不保证能通过。 如果您认为您的代码时间复杂度正确但是 TLE,可以尝试使用快速读入: inline int read() { in 阅读全文
posted @ 2021-03-12 17:15 sinEagle 阅读(37) 评论(0) 推荐(0) 编辑
摘要: F. Array Partition time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output You are given an arra 阅读全文
posted @ 2021-03-12 12:31 sinEagle 阅读(93) 评论(0) 推荐(0) 编辑