Loading

摘要: 本篇为个人练习记录 阅读全文
posted @ 2021-02-28 23:09 Frank_Ou 阅读(72) 评论(0) 推荐(0) 编辑
摘要: 个人日常训练记录 阅读全文
posted @ 2021-02-27 23:40 Frank_Ou 阅读(84) 评论(0) 推荐(0) 编辑
摘要: 个人的日常训练记录 阅读全文
posted @ 2021-02-27 22:37 Frank_Ou 阅读(68) 评论(0) 推荐(0) 编辑
摘要: 传送到AtCoder Beginner Contest 134 A.Dodecagon 给你一个r,让你输出$3\times r^2$ B.Golden Apple 给你N个苹果树,告诉你每个工人的工作范围$i-d \le range \le i+d$,问你把所有的树采摘一遍最少要几个工人。直接输出 阅读全文
posted @ 2021-02-23 13:16 Frank_Ou 阅读(116) 评论(0) 推荐(0) 编辑
摘要: A传送 B传送 A Changing Volume AC代码 #include <bits/stdc++.h> using namespace std; int t; int a, b; int main() { int t; scanf("%d", &t); while(t --) { scanf 阅读全文
posted @ 2021-02-22 21:46 Frank_Ou 阅读(46) 评论(0) 推荐(0) 编辑
摘要: A题传送 B题传送 A. Single Push AC代码 #include <bits/stdc++.h> using namespace std; const int N = 1e5 + 3; int a[N], b[N]; int n, t; int main() { scanf("%d", 阅读全文
posted @ 2021-02-21 15:47 Frank_Ou 阅读(54) 评论(0) 推荐(0) 编辑
摘要: 原题传送门 题面 Mobile robots are nowadays commonly used in various industrial and research sites. You are in charge of controlling \(n\) mobile robots that 阅读全文
posted @ 2021-02-19 19:05 Frank_Ou 阅读(340) 评论(1) 推荐(0) 编辑
摘要: long long GetInverse(long long a, long long mod) { long long ans = 1, n = mod - 2; a %= mod; while (n) { if (n & 1) { ans = ans * a % mod; } n >>= 1; 阅读全文
posted @ 2021-02-16 21:56 Frank_Ou 阅读(46) 评论(0) 推荐(0) 编辑
摘要: 点我传送 题面: In the Kingdom of Black and White (KBW), there are two kinds of frogs: black frog and white frog. Now \(N\) frogs are standing in a line, som 阅读全文
posted @ 2021-02-05 14:41 Frank_Ou 阅读(73) 评论(0) 推荐(0) 编辑
摘要: Educational Codeforces Round 103 (Rated for Div. 2) A. K-divisible Sum) 题面 You are given two integers \(n\) and \(k\). You should create an array of \ 阅读全文
posted @ 2021-01-30 09:29 Frank_Ou 阅读(253) 评论(0) 推荐(0) 编辑