军魂

ACM 刷水之路 不能容忍水题的存在

poj 3696 The Luckiest number (数论-快速幂+欧拉定理)

The Luckiest number Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 4894   Accepted: 1318 Description Chin...

2016-04-01 19:26:42

阅读数 456

评论数 0

反素数()

void dfs(int dept,LL nn,LL fnum,int index) { if(fnum>k)return ; ///if(nn>Linf) return ; if(fnum==k&&ans>nn) ans=...

2015-10-01 20:44:26

阅读数 490

评论数 0

反素数深度分析 (转)

反素数深度分析 分类: 数论 2014-05-05 20:06 2647人阅读 评论(2) 收藏 举报 今天要我要讲的是反素数,在ACM中也算是常见的考点,那么对于搞ACM的同学来说,很有必要搞清楚它,所以接下 来我会很详细地讲解。   在讲解反素数之前,我们先来看...

2015-09-30 17:36:02

阅读数 431

评论数 0

poj 2689

Language: Prime Distance 点击打开题目链接 Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 14583   Accepted: 3880 Description The bran...

2015-09-29 17:37:50

阅读数 390

评论数 0

codeforces#322 div2

A. Vasya the Hipster time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output One day Vasya...

2015-09-29 11:32:43

阅读数 568

评论数 0

HDU 5476 Explore Track of Point(平面几何)

Explore Track of Point Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 290    Accepted Sub...

2015-09-28 15:52:37

阅读数 1086

评论数 0

codeforces#316 div2

A. Elections 点击打开题目链接 time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output The country...

2015-08-17 08:59:32

阅读数 312

评论数 0

zoj 3705 Applications(粗暴模拟题)

Applications 点击打开题目链接 Time Limit: 2 Seconds      Memory Limit: 65536 KB Recently, the ACM/ICPC team of Marjar University decided to choos...

2015-05-06 19:38:14

阅读数 594

评论数 0

SDUT 2605 A^X mod P

A^X mod P 点击打开题目链接 Time Limit: 5000ms   Memory limit: 65536K  有疑问?点这里^_^ 题目描述 It's easy for ACMer to calculate A^X mod P. Now given sev...

2015-05-05 20:19:10

阅读数 447

评论数 0

HDU 1754 I Hate It(简单线段树-单点更新,区间询问)

I Hate It Time Limit: 9000/3000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 45602    Accepted Submission(s):...

2015-04-28 10:31:36

阅读数 373

评论数 0

zoj 3866 Cylinder Candy(积分数学)

Cylinder Candy 点击打开题目链接 Time Limit: 2 Seconds      Memory Limit: 65536 KB      Special Judge Edward the confectioner is making a new batc...

2015-04-13 13:41:43

阅读数 777

评论数 0

[csu oj]1553: Good subsequence(水题)

1553: Good subsequence 点击打开题目链接 Time Limit: 2 Sec  Memory Limit: 256 MB Submit: 234  Solved: 59 [Submit][Status][Web Board] Description ...

2015-03-30 20:06:47

阅读数 686

评论数 0

[csu oj] 1548: Design road(三分)

1548: Design road 点击打开题目链接 Time Limit: 2 Sec  Memory Limit: 256 MB Submit: 62  Solved: 32 [Submit][Status][Web Board] Description You n...

2015-03-30 06:48:35

阅读数 510

评论数 0

【Light oj】1282 - Leading and Trailing

1282 - Leading and Trailing http://www.lightoj.com/volume_showproblem.php?problem=1282 PDF (English) Statistics Forum ...

2015-03-27 16:54:04

阅读数 620

评论数 0

[Light oj] 1245 - Harmonic Number (II)

1245 - Harmonic Number (II) PDF (English) Statistics Forum Time Limit: 3 second(s) Memory Limit: 32 MB ...

2015-03-27 15:21:50

阅读数 539

评论数 0

HDU 5171GTY's birthday gift

GTY's birthday gift 点击打开题目链接 Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 585    A...

2015-02-08 13:56:02

阅读数 500

评论数 0

codeforces#290 B&&510 B Fox And Two Dots(简单dfs)

B. Fox And Two Dots 点击打开题目链接 time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standar...

2015-02-03 04:25:59

阅读数 731

评论数 0

codeforces #290 A&&510A Fox And Snake(水题)

A. Fox And Snake 点击打开题目链接 time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard o...

2015-02-03 04:20:38

阅读数 468

评论数 0

uva 10780Again Prime? No Time.(简单数论)

Again Prime? No time. Input: standard input Output: standard output Time Limit: 1 second The problem statement is very easy. Given a number n y...

2015-01-27 09:36:51

阅读数 1391

评论数 2

uva 10943How do you add?(简单组合)

Problem A: How do you add? Larry is very bad at math - he usually uses a calculator, which worked well throughout college. Unforunately, he is now...

2015-01-27 09:20:13

阅读数 865

评论数 2

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