03 2021 档案

摘要: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 阅读(41) 评论(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 阅读(190) 评论(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 阅读(179) 评论(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 阅读(268) 评论(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 阅读(136) 评论(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 阅读(206) 评论(0) 推荐(0)
摘要:题目背景 这是一道ST表经典题——静态区间最大值 请注意最大数据时限只有0.8s,数据强度不低,请务必保证你的每次查询复杂度为 O(1)O(1)。若使用更高时间复杂度算法不保证能通过。 如果您认为您的代码时间复杂度正确但是 TLE,可以尝试使用快速读入: inline int read() { in 阅读全文
posted @ 2021-03-12 17:15 sinEagle 阅读(59) 评论(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 阅读(123) 评论(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 阅读(127) 评论(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 阅读(130) 评论(0) 推荐(0)
摘要:C. 1D Sokoban time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output You are playing a game sim 阅读全文
posted @ 2021-03-10 16:44 sinEagle 阅读(103) 评论(0) 推荐(0)
摘要:C. Fox And Names time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Fox Ciel is going to pu 阅读全文
posted @ 2021-03-10 08:56 sinEagle 阅读(66) 评论(0) 推荐(0)
摘要:B. Sum of Medians time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output A median of an array of 阅读全文
posted @ 2021-03-08 20:23 sinEagle 阅读(138) 评论(0) 推荐(0)
摘要:题目描述 给定一个数列,初始为空,请支持下面三种操作: 给定一个整数 xx,请将 xx 加入到数列中。 输出数列中最小的数。 删除数列中最小的数(如果有多个数最小,只删除 11 个)。 输入格式 第一行是一个整数,表示操作的次数 nn。接下来 nn 行,每行表示一次操作。每行首先有一个整数 opop 阅读全文
posted @ 2021-03-05 20:43 sinEagle 阅读(83) 评论(0) 推荐(0)
摘要:B. Balanced Array time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output You are given a positiv 阅读全文
posted @ 2021-03-05 20:39 sinEagle 阅读(67) 评论(0) 推荐(0)
摘要:迷宫问题 Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 57486 Accepted: 30481 Description 定义一个二维数组: int maze[5][5] = { 0, 1, 0, 0, 0, 0, 1, 0, 阅读全文
posted @ 2021-03-05 17:00 sinEagle 阅读(92) 评论(0) 推荐(0)
摘要:Catch That Cow Time Limit: 5000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 33021 Accepted Submission(s): 8956 阅读全文
posted @ 2021-03-04 20:56 sinEagle 阅读(93) 评论(0) 推荐(0)
摘要:A. Distance and Axis time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output We have a point AA w 阅读全文
posted @ 2021-03-03 20:50 sinEagle 阅读(81) 评论(0) 推荐(0)
摘要:B. Construct the String time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output You are given th 阅读全文
posted @ 2021-03-03 20:20 sinEagle 阅读(141) 评论(0) 推荐(0)