自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

原创 OpenGL 窗口创建

使用OpenGL实用库的第一步是初始化GLUT: glutInit(&argc, argv); 接着, 是说明展示窗口的标题: glutInitDisplayMode(GLUT_SINGLE | GLUT_RGB); 下面就是指定显示窗口需要显示...

2017-03-17 17:22:07

阅读数 571

评论数 0

原创 HDU 4027 - Can you answer these queries?(线段树)

Can you answer these queries?Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65768/65768 K (Java/Others) Total Submission(s): 15043 Accep...

2017-03-15 14:55:16

阅读数 208

评论数 0

原创 POJ 3368 - Frequent values(离散化ST)

Frequent values Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 18364 Accepted: 6602 DescriptionYou are given a sequence of...

2017-03-13 20:54:08

阅读数 247

评论数 0

原创 Codeforces 367B - Sereja ans Anagrams(map)

B. Sereja ans Anagrams time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Sereja has two s...

2017-03-13 16:00:19

阅读数 169

评论数 0

原创 POJ 3191 - The Moronic Cowmpouter(进制转换)

The Moronic Cowmpouter Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 4192 Accepted: 2168 DescriptionInexperienced in the dig...

2017-03-13 14:41:29

阅读数 277

评论数 0

原创 POJ 3186 - Treats for the Cows(DP)

Treats for the Cows Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 5729 Accepted: 2963 DescriptionFJ has purchased N (1 <=...

2017-03-13 14:27:42

阅读数 192

评论数 0

原创 Codeforces 367A - Sereja and Algorithm(前缀和)

A. Sereja and Algorithm time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Sereja loves al...

2017-03-10 18:21:17

阅读数 173

评论数 0

原创 Codeforces 366D - Dima and Trap Graph(DFS)

D. Dima and Trap Graph time limit per test3 seconds memory limit per test256 megabytes inputstandard input outputstandard output Dima and Inna l...

2017-03-10 15:36:58

阅读数 171

评论数 0

原创 Codeforces 366C - Dima and Salad(DP)

C. Dima and Salad time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Dima, Inna and Seryoz...

2017-03-09 19:42:03

阅读数 352

评论数 0

原创 Codeforces 450D - Jzzhu and Cities(最短路)

D. Jzzhu and Cities time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Jzzhu is the presi...

2017-03-06 13:13:20

阅读数 266

评论数 0

原创 Codeforces 362D - Fools and Foolproof Roads(并查集+优先队列)

D. Fools and Foolproof Roads time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output You must h...

2017-03-03 17:35:34

阅读数 227

评论数 0

原创 Codeforces 552C - Vanya and Scales(数学)

C. Vanya and Scales time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Vanya has a scales ...

2017-03-02 17:56:41

阅读数 220

评论数 0

原创 Codeforces 552B - Vanya and Books(数学)

B. Vanya and Books time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Vanya got an importa...

2017-03-02 17:46:27

阅读数 343

评论数 0

原创 Codeforces 551C - GukiZ hates Boxes(贪心二分)

C. GukiZ hates Boxes time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Professor GukiZ i...

2017-03-01 21:22:03

阅读数 192

评论数 0

原创 Codeforces 550D - Regular Bridge(构造)

D. Regular Bridge time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output An undirected graph ...

2017-02-26 21:36:08

阅读数 182

评论数 0

原创 Codeforces 550C - Divisibility by Eight(思维)

C. Divisibility by Eight time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output You are given...

2017-02-25 15:00:14

阅读数 191

评论数 0

原创 Codeforces 363D - Renting Bikes(贪心二分)

D. Renting Bikes time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output A group of n schoolboy...

2017-02-24 14:47:07

阅读数 542

评论数 0

原创 POJ 1182 - 食物链(种类并查集)

食物链 Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 67959 Accepted: 20089 Description动物王国中有三类动物A,B,C,这三类动物的食物链构成了有趣的环形。A吃B,...

2017-02-23 16:40:03

阅读数 261

评论数 0

原创 Codeforces 361C - Levko and Array Recovery(贪心)

C. Levko and Array Recovery time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Levko loves...

2017-02-22 20:34:47

阅读数 509

评论数 0

原创 Codeforces 548C - Mike and Frog(暴力循环节)

C. Mike and Frog time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Mike has a frog and a ...

2017-02-21 18:03:09

阅读数 531

评论数 0

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