原创 CodeForces 593B - Anton and Lines(思維)

B. Anton and Lines time limit per test1 second memory limit per test256 megabytes inputstandard input outputsta

原创 POJ 2431 - Expedition(貪心)

Expedition Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 14212 Accepted: 4020 Descripti

原创 Codeforces 544B - Sea and Islands(構造)

B. Sea and Islands time limit per test1 second memory limit per test256 megabytes inputstandard input outputsta

原创 CodeForces 584C - Marina and Vasya(構造)

C. Marina and Vasya time limit per test1 second memory limit per test256 megabytes inputstandard input outputst

原创 Codeforces 604C - Alternative Thinking(思維)

C. Alternative Thinking time limit per test2 seconds memory limit per test256 megabytes inputstandard input out

原创 OpenGL 窗口創建

使用OpenGL實用庫的第一步是初始化GLUT: glutInit(&argc, argv); 接着, 是說明展示窗口的標題: glutCreateWindow("An Example OpenGl

原创 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) Tota

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

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

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

Treats for the Cows Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 5729 Accepted: 2963 Descript

原创 POJ 3191 - The Moronic Cowmpouter(進制轉換)

The Moronic Cowmpouter Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 4192 Accepted: 2168 Descr

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

D. Regular Bridge time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandar

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

A. Sereja and Algorithm time limit per test1 second memory limit per test256 megabytes inputstandard input outputst

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

D. Jzzhu and Cities time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstand

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

D. Dima and Trap Graph time limit per test3 seconds memory limit per test256 megabytes inputstandard input outputst

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

C. GukiZ hates Boxes time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstan