排序:
默认
按更新时间
按访问量

Maratona de Programa¸c˜ao da SBC – ACM ICPC – 2013 F Triangles

题意是一个圆上,给出n个点之间的距离,最后的距离是最后一个点跟第一个点之间的距离,问能组成多少个等边三角形。 容易想到圆的周长不能整除3的话一定无法构成等边三角形,所以先特判这种情况。然后可以发现,每条线段必定是n个连续的点,这样可以找到2*n个点,判断从当前点开始,能否在n个点之内,正...

2018-05-03 15:39:19

阅读数:41

评论数:0

Codeforces gym 101612 Consonant Fencity (状态压缩+暴力)

Consonant Fencity 时间限制: 3 Sec 内存限制: 512 MB 提交: 100 解决: 15 [提交][状态][讨论版][命题人:admin] 题目描述 There are two kinds of sounds in spoken languages: vowels a...

2018-04-28 15:46:21

阅读数:56

评论数:0

April Fools Contest 2018

哇,第二天补题,发现除了第一个什么都不会,这么可怕的题意吗? A. Quirky Quantifiers time limit per test 2 seconds memory limit per test 64 megabytes ...

2018-04-02 17:35:37

阅读数:49

评论数:0

Codeforces Round #464 (Div. 2) A-D题解

A. Love Triangle time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output...

2018-02-27 10:32:16

阅读数:121

评论数:0

Codeforces Round #361 (Div. 2) D (树状数组+二分)

D. Friends and Subsequences time limit per test 2 seconds memory limit per test 512 megabytes input standard input output sta...

2018-01-29 10:59:57

阅读数:103

评论数:0

Codeforces Round #365 (Div. 2) D (树状数组)

D. Mishka and Interesting sum time limit per test 3.5 seconds memory limit per test 256 megabytes input standard input output ...

2018-01-27 10:19:12

阅读数:118

评论数:0

Codeforces Round #452 (Div. 2) A-C题解

哎............ A. Splitting in Teams time limit per test 1 second memory limit per test 256 megabytes input standard ...

2017-12-17 20:06:27

阅读数:497

评论数:1

Codeforces Round #451 (Div. 2) A-C题解

伤心总是难免的,明明是送分场,愣是掉了61分。 A. Rounding time limit per test 1 second memory limit per test 256 megabytes input standard ...

2017-12-17 13:24:36

阅读数:423

评论数:0

Codeforces Round #450 (Div. 2) A-C题解

A. Find Extra One time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output You have n distinct points...

2017-12-14 21:37:01

阅读数:470

评论数:0

Codeforces Round #449 (Div. 2) A-C题解

A. Scarborough Fair time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Are you going to Scarbo...

2017-12-06 14:36:32

阅读数:296

评论数:0

Codeforces Round #422 (Div. 2) C Hacker, pack your bags! (二分orDP)

Hacker, pack your bags! time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output It's well known tha...

2017-12-03 22:02:04

阅读数:235

评论数:0

Codeforce 839C Journey (dfs+概率)

C. Journey time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output There are n cities and n - 1 roa...

2017-11-25 17:25:30

阅读数:594

评论数:0

Educational Codeforces Round 33 (Rated for Div. 2) A-C题解

A. Chess For Three time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Alex, Bob and Carl will s...

2017-11-25 10:02:50

阅读数:497

评论数:0

Codeforces Round #447 (Div. 2) A-C题解

A. QAQ time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output "QAQ" is a word to denote a...

2017-11-20 16:52:27

阅读数:626

评论数:0

Codeforces Round #446 (Div. 2) A-C 题解

A. Greed time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Jafar has n cans of cola. Each can...

2017-11-18 13:53:50

阅读数:500

评论数:2

Codeforces Round #444 (Div. 2) A-C 题解

A. Div. 64 time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Top-model Izabella participates i...

2017-11-17 15:19:33

阅读数:554

评论数:0

Codeforces Round #443 (Div. 2) A-C 题解

A. Borya's Diagnosis time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output It seems that Borya is...

2017-11-16 21:37:54

阅读数:403

评论数:0

Codeforces Round #440 (Div. 2, based on Technocup 2018 Elimination Round 2) A-C题解

A. Search for Pretty Integers time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output You are given ...

2017-10-17 12:56:21

阅读数:354

评论数:0

Codeforces Round #441 (Div. 2, by Moscow Team Olympiad) A-D题解

A. Trip For Meal time limit per test1 second memory limit per test512 megabytes inputstandard input outputstandard output Winnie-the-Pooh likes honey...

2017-10-17 12:27:11

阅读数:473

评论数:0

Codeforces Round #439 (Div. 2) A-C题解

A. The Artful Expedient time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Rock... Paper! Afte...

2017-10-07 09:50:55

阅读数:993

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭