原文:CF696B Puzzles

Description Barney lives in country USC United States of Charzeh . USC has n cities numbered from through n and n roads between them. Cities and roads of USC form a rooted tree Barney s not sure why i ...

2018-10-08 10:24 0 857 推薦指數:

查看詳情

CF697E && CF696C PLEASE

題意:給你三個杯子,一開始鑰匙放在中間的杯子里,然后每一回合等概率將左右兩個杯子中的一個與中間杯子交換。求n回合之后鑰匙在中間杯子的概率。這里要求概率以分數形式輸出,先化成最簡,然后對1e9 + 7取 ...

Sat Apr 15 00:03:00 CST 2017 0 1456
CF335B

...

Mon Aug 05 05:56:00 CST 2013 0 3119
CF286-B

B. Mr. Kitayuta's Colorful Graph time limit per test 1 second memory limit per test 256 megabytes ...

Fri Feb 13 02:47:00 CST 2015 0 2209
CF916B

B. Jamie and Binary Sequence (changed after round) time limit per test 2 seconds memory limit per test 256 ...

Wed Jan 24 01:15:00 CST 2018 0 1302
CF1181B

題面 主要思想 很明顯,題面就是讓你將一串數割開,使得隔開后的兩數總和最小。 稍微分析一下后我們會想到:對於這里隔開后的兩個數,他們的總位數一定,顯然他們的位數越相近,總和就有機會越小。所以我們 ...

Thu Jan 23 05:17:00 CST 2020 0 813
CF291-B

B. Han Solo and Lazer Gun time limit per test 1 second memory limit per test 256 megabytes input ...

Mon Feb 16 01:01:00 CST 2015 0 4295
CF-839B

B. Game of the Rows time limit per test 1 second memory limit per test 256 megabytes ...

Mon Aug 14 00:11:00 CST 2017 0 1515
CF-796B

B. Find The Bone time limit per test 2 seconds memory limit per test 256 megabytes ...

Wed May 03 05:15:00 CST 2017 0 1995
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM