原文:Codeforces Round #630 (Div. 2) 部分題解

目錄 Codeforces Round Div. A. Exercising Walk B. Composite Coloring C. K Complete Word D. Walk on Matrix E. Height All the Same Codeforces Round Div. A. Exercising Walk 題意:一只貓初始在點 x,y ,你需要移動它 a b c d 次 ...

2020-04-01 00:45 0 598 推薦指數:

查看詳情

Codeforces Round #630 (Div. 2)

傳送門 A. Exercising Walk 顯然橫縱坐標我們可以分開考慮。 假設只考慮橫坐標,若\(x_2\not ={x_1}\),那么向左/向右走可以互相抵消,然后只能往一個方向走;若\(x ...

Wed Apr 01 22:27:00 CST 2020 0 694
Educational Codeforces Round 115 (Rated for Div. 2) 部分簡要題解

A 根據題面描述不難發現:若當前在第\(i\)列的某個空格上,只要第\(i+1\)列存在空格,就一定可以跳到這個空格上。只需要判斷每行是否有空格子即可。 B 枚舉兩門課分別在什么時候上,所有 ...

Tue Oct 12 20:54:00 CST 2021 0 112
Codeforces Round #704 (Div. 2) 題解

本場鏈接:Codeforces Round #704 (Div. 2) 閑話 大Fst場,排名從781->449,給我看傻了都.D題非常依賴特判,感覺我也不大能講清楚所有情況.E的話好像也比較碼農,正在寫,可能晚上做出來了就更新,沒做出來的話明天更. A. Three swimmers ...

Wed Feb 24 06:13:00 CST 2021 0 343
Codeforces Round #702 (Div. 3) 題解

本場鏈接:Codeforces Round #702 (Div. 3) A. Dense Array B. Balanced Remainders C. Sum of Cubes 思路 枚舉\(b\),由范圍可以知道\(1 \leq b \leq 10^4\).\(a\)可以求 ...

Wed Feb 17 18:59:00 CST 2021 0 273
Codeforces Round #699 (Div. 2) A~E 題解

本場鏈接:Codeforces Round #699 (Div. 2) A. Space Navigation 題目大意:有一個飛船一開始在\((0,0)\),有一個操作列表\(s\),每個位置表示一個上下左右的移動操作.有一個目的地坐標是\((px,py)\).但是這個操作序列不一定能夠正確 ...

Sat Feb 06 22:11:00 CST 2021 0 404
Codeforces Round #739 (Div. 3) 題解

本場鏈接:Codeforces Round #739 (Div. 3) A. Dislike of Threes 直接枚舉即可 B. Who's Opposite? 先求出具體有多少個\(n\),再看每個數是否合法,最后求出對稱的數是誰 C. Infinity Table 直接 ...

Fri Aug 20 21:36:00 CST 2021 0 126
Codeforces Round #561 (Div. 2) 題解

Codeforces Round #561 (Div. 2) 題解 題目鏈接 A. Silent Classroom 水題。 Code B. All the Vowels Please 滿足行列都大於5就行了,后面亂構造一下就好了。 代碼 ...

Sun May 19 04:03:00 CST 2019 2 520
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM