上一页 1 2 3 4 5 6 ··· 9 下一页
摘要: library(lubridate) d1 <- Sys.Date() as.numeric(d1) d2 <- "2000-02-29" d3 <- as.Date(d2) d4 <- now() year(d4) month(d4) week(d4) s1 <- sample(LETTERS[1 阅读全文
posted @ 2021-03-29 16:42 sinEagle 阅读(27) 评论(0) 推荐(0) 编辑
摘要: E. Accidental Victory time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output A championship is 阅读全文
posted @ 2021-03-15 19:59 sinEagle 阅读(128) 评论(0) 推荐(0) 编辑
摘要: D. Permutation Transformation time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output A permutat 阅读全文
posted @ 2021-03-15 19:07 sinEagle 阅读(116) 评论(0) 推荐(0) 编辑
摘要: C. Sum of Cubes time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output You are given a positive 阅读全文
posted @ 2021-03-14 20:25 sinEagle 阅读(204) 评论(0) 推荐(0) 编辑
摘要: D. Number into Sequence time limit per test 3 seconds memory limit per test 256 megabytes input standard input output standard output You are given an 阅读全文
posted @ 2021-03-13 16:45 sinEagle 阅读(98) 评论(0) 推荐(0) 编辑
摘要: C. Sequence Transformation time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output You are given 阅读全文
posted @ 2021-03-13 10:52 sinEagle 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 题目背景 这是一道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 阅读(89) 评论(0) 推荐(0) 编辑
摘要: 题目背景 模板题,无背景。 2019.12.12 更新数据,放宽时限,现在不再卡常了。 题目描述 给出项数为 nn 的整数数列 a_{1 \dots n}a1…n​。 定义函数 f(i)f(i) 代表数列中第 ii 个元素之后第一个大于 a_iai​ 的元素的下标,即 f(i)=\min_{i<j\ 阅读全文
posted @ 2021-03-11 19:48 sinEagle 阅读(102) 评论(0) 推荐(0) 编辑
摘要: A. Special Permutation time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output You are given one 阅读全文
posted @ 2021-03-11 10:23 sinEagle 阅读(104) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 9 下一页