原文:Codeforces Round #616 (Div. 2) C. Mind Control 博弈論 枚舉

C. Mind Control time limit per test second memory limit per test megabytes You and your n friends have found an array of integers a ,a , ,an. You have decided to share it in the following way: All n o ...

2020-02-03 19:23 4 486 推薦指數:

查看詳情

Codeforces Round #616 (Div. 2)解題報告

Codeforces Round #616 (Div. 2)解題報告 A. Even But Not Even 找兩個奇數就行了。 B. Array Sharpening 貪心+構造。 就從0開始往上走,看看最遠能走到哪,看代碼。 C. Mind Control 這道題題意 ...

Tue Feb 04 11:38:00 CST 2020 0 195
Codeforces Round #735 (Div. 2) C. Mikasa

Codeforces Round #735 (Div. 2) C. Mikasa ps:代碼最后調出來來不及交了,沒有AC,純屬口嗨 qwq 本質是找個最小的k使得n^k>m \(n > m\) 則答案為0 下面描述的n的變化量即為要找的k。 1、找到n最高的值為1且不與m ...

Fri Jul 30 09:15:00 CST 2021 0 173
Codeforces Round #590 (Div. 3) C. Pipes

鏈接: https://codeforces.com/contest/1234/problem/C 題意: You are given a system of pipes. It consists of two rows, each row consists of n pipes. ...

Thu Oct 03 07:49:00 CST 2019 3 254
Codeforces Round #728 (Div. 2) C. Great Graphs

Great Graphs 題意 給你一個數組\(d\),\(d[i]\)表示從節點\(1\)到其他各個節點的最短路的長度,然后你可以對這個圖進行加邊(可以是負邊),但不允許存在一個權值和為負數的回 ...

Mon Jun 28 23:09:00 CST 2021 0 187
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM