随笔分类 -  OJ / atcoder

摘要:AtCoder Beginner Contest 362 前言 vp 的时候出了四题,被 C 题卡了一会,很久才出,D 题是 dijkstra 的板子,改下条件即可,E 题是个计数 dp,这类题一直不怎么擅长,想起之前杭电第一场那个序列立方的题也是类似这种计数 dp,需要加强练习。 A - Buy 阅读全文
posted @ 2024-07-29 10:14 Ke_scholar 阅读(40) 评论(0) 推荐(0)
摘要:AtCoder Beginner Contest 363 前言 只出了三题,被 d 卡住了,事实上 e 题应该对我而言更简单,没及时换题。 A - Piling Up (atcoder.jp) 思路 代码 #include<bits/stdc++.h> using namespace std; us 阅读全文
posted @ 2024-07-23 20:31 Ke_scholar 阅读(60) 评论(0) 推荐(0)
摘要:AtCoder Beginner Contest 327D D - Good Tuple Problem (atcoder.jp)(种类并查集,二分图染色) 算法学习笔记(7):种类并查集 附上典题:P1892 [BOI2003] 团伙 种类并查集做法 #include <bits/stdc++.h 阅读全文
posted @ 2023-11-26 01:48 Ke_scholar 阅读(27) 评论(0) 推荐(0)
摘要:AtCoder Beginner Contest 328 A - Not Too Hard (atcoder.jp) #include <bits/stdc++.h> #define debug(a) cout<<#a<<"="<<a<<'\n'; using namespace std; usin 阅读全文
posted @ 2023-11-15 21:21 Ke_scholar 阅读(54) 评论(0) 推荐(0)
摘要:AtCoder Beginner Contest 318 A - Full Moon (atcoder.jp) 以\(M\)为首项,\(P\)为公差,看\(1 \sim N\)里包含了多少项的个数 #include<bits/stdc++.h> using i64 = long long; usin 阅读全文
posted @ 2023-09-26 21:23 Ke_scholar 阅读(52) 评论(0) 推荐(0)
摘要:# [AtCoder Beginner Contest 315](https://atcoder.jp/contests/abc315) ## [A - tcdr (atcoder.jp)](https://atcoder.jp/contests/abc315/tasks/abc315_a) **一 阅读全文
posted @ 2023-08-21 00:59 Ke_scholar 阅读(117) 评论(0) 推荐(0)
摘要:# [AtCoder Beginner Contest 314 - AtCoder](https://atcoder.jp/contests/abc314) ## [A - 3.14 (atcoder.jp)](https://atcoder.jp/contests/abc314/tasks/abc 阅读全文
posted @ 2023-08-14 19:19 Ke_scholar 阅读(91) 评论(0) 推荐(0)
摘要:# [AtCoder Beginner Contest 313 - AtCoder](https://atcoder.jp/contests/abc313) ## [A - To Be Saikyo (atcoder.jp)](https://atcoder.jp/contests/abc313/t 阅读全文
posted @ 2023-08-07 18:55 Ke_scholar 阅读(68) 评论(0) 推荐(0)
摘要:# [AtCoder Beginner Contest 312](https://atcoder.jp/contests/abc312) ## [A - Chord (atcoder.jp)](https://atcoder.jp/contests/abc312/tasks/abc312_a) `` 阅读全文
posted @ 2023-07-30 22:40 Ke_scholar 阅读(67) 评论(0) 推荐(0)
摘要:# Toyota Programming Contest 2023#4(AtCoder Beginner Contest 311) ## [A - First ABC (atcoder.jp)](https://atcoder.jp/contests/abc311/tasks/abc311_a) * 阅读全文
posted @ 2023-07-24 10:25 Ke_scholar 阅读(65) 评论(0) 推荐(0)
摘要:# [freee Programming Contest 2023(AtCoder Beginner Contest 310) - AtCoder](https://atcoder.jp/contests/abc310) ## [A - Order Something Else (atcoder.j 阅读全文
posted @ 2023-07-16 16:53 Ke_scholar 阅读(94) 评论(0) 推荐(0)