原创 2323 Emirp(哈爾濱理工大學)

Emirp Time Limit: 5000 MS Memory Limit: 100000 K Total Submit: 143(59 users) Total Accepted: 61(55 users) Rating:  Sp

原创 Codeforces Round #401 (Div. 2) C. Alyona and Spreadsheet

C. Alyona and Spreadsheet time limit per test 1 second memory limit per test 256 megabytes input standard input ou

原创 2315 Time(哈爾濱理工大學)

Time Time Limit: 1000 MS Memory Limit: 100000 K Total Submit: 224(75 users) Total Accepted: 87(69 users) Rating: 

原创 Codeforces Round #401 (Div. 2) D. Cloud of Hashtags

D. Cloud of Hashtags time limit per test 2 seconds memory limit per test 256 megabytes input standard input output

原创 HUD 6015 Skip the Class

Skip the Class Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others) Total Submission(s)

原创 HDOJ 1757 A Simple Math Problem

A Simple Math Problem Time Limit: 3000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submis

原创 POJ 2823 Sliding Window(單調隊列)

Sliding Window Time Limit: 12000MS   Memory Limit: 65536K Total Submissions: 56848   Accepted: 16323 Case Time Limit:

原创 A. Lesha and array splitting Codeforces Round #390 (Div. 2)

A. Lesha and array splitting time limit per test 2 seconds memory limit per test 256 megabytes input standard input

原创 2318 Mod(哈爾濱理工大學)

Mod Time Limit: 1000 MS Memory Limit: 100000 K Total Submit: 351(95 users) Total Accepted: 128(85 users) Rating:  Spe

原创 POJ 1611 The Suspects(並查集)

The Suspects Time Limit: 1000MS   Memory Limit: 20000K Total Submissions: 35084   Accepted: 17044 Description Sever

原创 Codeforces Round #390 (Div. 2) B. Ilya and tic-tac-toe game(dfs)

B. Ilya and tic-tac-toe game time limit per test 2 seconds memory limit per test 256 megabytes input standard i

原创 HDOJ 1276 士兵隊列訓練問題(queue隊列)

士兵隊列訓練問題 Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 7163

原创 二分查找

遞歸的方法: int binsearch(int low,int high,int key) { if(low<=high) { int mid=(low+high)/2; if(key==

原创 D. Fedor and coupons Codeforces Round #390 (Div. 2)(優先隊列)

D. Fedor and coupons time limit per test 4 seconds memory limit per test 256 megabytes input standard input output

原创 HDOJ 5092 Seam Carving(動態規劃,回溯,記錄路徑)

Seam Carving Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others) Total Submission(s):