09 2023 档案

ABC321
摘要:T1:321-like Checker 模拟 代码实现 #include <bits/stdc++.h> using namespace std; int main() { string s; cin >> s; for (int i = 0; i+1 < s.size(); ++i) { if ( 阅读全文
posted @ 2023-09-23 22:59 V_Melville 阅读(31) 评论(0) 推荐(0) 编辑
ABC320
摘要:T1:Leyland Number 模拟 代码实现 a, b = map(int, input().split()) print(a**b+b**a) T2:Longest Palindrome 模拟 代码实现 #include <bits/stdc++.h> #define rep(i, n) f 阅读全文
posted @ 2023-09-16 23:48 V_Melville 阅读(18) 评论(0) 推荐(0) 编辑
ABC319
摘要:T1:Legendary Players 模拟 代码实现 table = ''' tourist 3858 ksun48 3679 Benq 3658 Um_nik 3648 apiad 3638 Stonefeang 3630 ecnerwala 3613 mnbvmar 3555 newbied 阅读全文
posted @ 2023-09-15 02:32 V_Melville 阅读(24) 评论(0) 推荐(0) 编辑
CodeStar 8月信息学公开赛 CSP-S复赛模拟
摘要:T1:算术计算 T 组数据,每组数据给出 n,a,p,求 i=1niaip 取模的值。 部分分 直接暴力求和可以拿到 15 分 另外 10% 的数据 a=1,不难通过数据计算得到答案为 \(\f 阅读全文
posted @ 2023-09-09 23:46 V_Melville 阅读(38) 评论(0) 推荐(0) 编辑
YACS2023年8月乙组
摘要:## T1:[序列最大公约数](https://iai.sh.cn/problem/843 "序列最大公约数") O(s) 枚举 gcd 即可 代码实现 ``` #include using namespace std; int main() { int 阅读全文
posted @ 2023-09-05 02:08 V_Melville 阅读(45) 评论(0) 推荐(0) 编辑
ABC318
摘要:## T1:[Full Moon](https://atcoder.jp/contests/abc318/tasks/abc318_a "Full Moon") 模拟 代码实现 ``` n, m, p = map(int, input().split()) ans = 0 i = m while i 阅读全文
posted @ 2023-09-02 23:33 V_Melville 阅读(21) 评论(0) 推荐(0) 编辑
ABC317
摘要:## T1:[Potions](https://atcoder.jp/contests/abc317/tasks/abc317_a "Potions") 模拟 代码实现 ``` n, h, x = map(int, input().split()) p = list(map(int, input() 阅读全文
posted @ 2023-09-02 00:24 V_Melville 阅读(16) 评论(0) 推荐(0) 编辑

 
点击右上角即可分享
微信分享提示