原创 Codeforces Round #644 (Div. 3)D. Buying Shovels

D. Buying Shovels time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandar

原创 Educational Codeforces Round 87 (Rated for Div. 2) C2. Not So Simple Polygon Embedding

C2. Not So Simple Polygon Embedding time limit per test2 seconds memory limit per test256 megabytes inputstandard i

原创 Educational Codeforces Round 87 (Rated for Div. 2) B. Ternary String

B. Ternary String time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandar

原创 Codeforces 1353 C. Board Moves(規律)

C. Board Moves time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard ou

原创 Codeforces 1353 D. Constructing the Array(單調隊列模擬)

D. Constructing the Array time limit per test1 second memory limit per test256 megabytes inputstandard input output

原创 Codeforces Round #643 (Div. 2) D. Game With Array

D. Game With Array time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandar

原创 Codeforces Round #640 C. K-th Not Divisible by n

C. K-th Not Divisible by n time limit per test1 second memory limit per test256 megabytes inputstandard input outpu

原创 2020/5/2日誌

最近cf挺多,但是貌似最近上分一直不慍不火, 同樣出題量手速快點上分幅度估計會更大 最近在洛谷上開始按着題庫刷題目,還是紮實紮實基本工具吧 cf也要漸漸試着多出一道題了 最近必修課課量好多阿,趁着五一假期趕緊緩和一下不然兩邊都

原创 2020/4/27日誌

cf最近挺多的,現在出題不再像以前一個A題就卡好久,基本工具用的更熟悉了,板子題倒不是很多 感覺打cf最大的改變是代碼越來越簡潔了?是好事 數學題挺鍛鍊推導能力的,感覺越來越好玩了 但處理起圖論題還是略顯臃腫 最近結課兩門了,不知

原创 Codeforces Round #636 (Div. 3) D. Constant Palindrome Sum

You are given an array a consisting of n integers (it is guaranteed that n is even, i.e. divisible by 2). All ai do

原创 2020/4/15日誌

不知道從什麼時候開始,發現只有興趣才能讓我堅持着走下去,不去想什麼時候停止,不去想爲什麼。 可能是在家裏待的時間太長了吧,總想覺得網課學習有時候講的太慢,就自己找了找相關資料自己學習,效率結果還挺可觀 每天早上都堅持出門跑步,透氣

原创 Codeforces Round #568 (Div. 2) D. Extra Element

D. Extra Element time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard

原创 2020/3/30日誌

開學已經第六週了,時間過的好快qwq codeforces一週兩三場,前幾頁的比賽目前也都刷過一遍了,其餘時間偶爾在補前面用的不熟的知識 在家感覺日常作息不規律,晚上能耗到一兩點,早上沒課能睡到八九點,不過在家使用零碎時間的效率比

原创 Codeforces Round #628 (Div. 2) C. Ehab and Path-etic MEXs

思路: map <int,bool> q; int t,n; int u[100020],v[100020],w[100020]; int ind[100020]; int main() { scanf("%d",&