原创 Codeforces 650C Table Compression

C. Table Compression time limit per test 4 seconds memory limit per test 256 megabytes input standard input ou

原创 Codeforces 590B Chip 'n Dale Rescue Rangers

B. Chip 'n Dale Rescue Rangers time limit per test 1 second memory limit per test 256 megabytes input stand

原创 HDU 1385 Minimum Transport Cost

Minimum Transport Cost Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submi

原创 UVA 10047 The Monocycle

白書上圖論例題2 題目大意是 M*N個格子 #不能走 S是起點 T是終點 上北下南左西右東 一開始在S,朝向北, 在每一個格子 可以左轉90度 或者右轉90度 或者朝向走1格 問從起點到終點 計算重複格子 走5的整數倍個格子到終點 不限制

原创 js 批量移除steam遊戲 移除用戶憑證中免費獲取的物品

手賤用steamdb上的js 獲取了幾百個免費的demo和遊戲 出現在了用戶憑證裏,但是並沒有喜+1 所以後來琢磨如何刪掉又長又臭的單子 強迫症傷不起啊 後來發現了一個別人寫好的js 然而似乎因爲年代久遠 有一點錯誤 http://pa

原创 Codeforces 587B Duff in Beach

D. Duff in Beach time limit per test 2 seconds memory limit per test 256 megabytes input standard input output

原创 Codeforces 585C Alice, Bob, Oranges and Apples

C. Alice, Bob, Oranges and Apples time limit per test 1 second memory limit per test 256 megabytes input standar

原创 計算幾何 模板

//凸包+最遠點對 #include<iostream> #include<cstdio> #include<cstring> #include<cstdlib> #include<cmath> #include<algorithm> #