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

AtCoder Grand Contest 025 B - RGB Coloring(组合数学+逆元)

B - RGB Coloring Time limit : 2sec / Memory limit : 1024MB Score : 700 points Problem Statement Takahashi has a tower which is divided into N layer...

2018-06-04 19:37:37

阅读数:146

评论数:0

“浪潮杯”山东省第6届acm省赛 SDUT 3257 Cube Number (分解质因数)

Cube Number  2000 ms       65536 KiB Accepted/Submissions: 3/38 (7.89%) Submit Status  Statistics Origin Description In mathema...

2018-05-03 13:23:25

阅读数:52

评论数:0

BZOJ 1072 [SCOI2007]排列perm (状态压缩+dp+同余定理)

1072: [SCOI2007]排列perm Time Limit: 10 Sec Memory Limit: 128 MB Submit: 2537 Solved: 1583 [Submit][Status][Discuss] Description   给一个数字串s和正整数d, 统计...

2017-10-09 17:35:57

阅读数:358

评论数:0

HDU 6063 RXD and math (数论+快速幂)

RXD and math Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 524288/524288 K (Java/Others) Total Submission(s): 1363 Accepted Submission(...

2017-10-05 10:55:19

阅读数:534

评论数:0

HDU 5514 Frogs (容斥+数论)

Frogs Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 2810 Accepted Submission(s): 904 ...

2017-10-02 17:04:04

阅读数:671

评论数:0

BZOJ 1024 生日快乐 (dfs)

传送门:点击打开链接 1024: [SCOI2009]生日快乐 Time Limit: 1 Sec  Memory Limit: 162 MB Submit: 2885  Solved: 2101 [Submit][Status][Discuss] Description ...

2017-09-07 21:37:41

阅读数:508

评论数:0

Educational Codeforces Round 26 E. Vasya's Function(数论)

E. Vasya's Function time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Vasya is studying number...

2017-08-06 09:29:52

阅读数:475

评论数:0

codeforce B. Cutting Carrot

Igor the analyst has adopted n little bunnies. As we all know, bunnies love carrots. Thus, Igor has bought a carrot to be shared between his bunnies....

2017-05-14 10:08:44

阅读数:607

评论数:0

HDU 1019 Least Common Multiple

题目链接:点击打开链接 题目要求求n个数的最小公约数,可以依次求出每个数的最大公倍数,然后两数相乘再除以gcd。 开始是数组接受后遍历,莫名其秒WA两次,又放在输入中直接求的,就过了,可能有小细节没处理好。 有用到欧几里得算法。 下面是大神对欧几里得算法以及扩展欧几里得的解释。点击打开链接...

2017-05-13 16:42:03

阅读数:175

评论数:0

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