原创 敵兵佈陣 HDU - 1166 (線段樹單點修改區間求和模板)
敵兵佈陣 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 98863
原创 Just a Hook HDU - 1698(線段樹區間更換,區間詢問模板)
Just a Hook Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 35
原创 Codeforces Round #433 (Div. 2, based on Olympiad of Metropolises) D. Jury Meeting(貪心)
D. Jury Meeting time limit per test 1 second memory limit per test 512 megabytes input standard input output s
原创 Network of Schools POJ1236(tarjan縮點+強連通分量模板)
Network of Schools Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 19564 Accepted: 7705 Description
原创 Codeforces Round #383 (Div. 2) D. Arpa's weak amphitheater and Mehrdad's valuable Hoses(並查集+分組揹包)
D. Arpa's weak amphitheater and Mehrdad's valuable Hoses time limit per test 1 second memory limit per test 256 me
原创 Codeforces Round #383 (Div. 2) C. Arpa's loud Owf and Mehrdad's evil plan
C. Arpa's loud Owf and Mehrdad's evil plan time limit per test 1 second memory limit per test 256 megabytes
原创 Tallest Cow POJ - 3263(線段樹區間修改,單點查詢)
Tallest Cow Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 2388 Accepted: 1094 Description FJ's N
原创 2017 Multi-University Training Contest - Team 9 Numbers (實力亂搞)
Numbers Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others) Total Submission(s): 61
原创 Battleship
這次是用python寫的一個小遊戲,簡單無比,還是可以當作入門去搞得,裏面包含了使用隨機和生成二維數組循環一些基礎東西 from random import randint #導入隨機 board = [] for x in rang
原创 Codeforces Round #430 (Div. 2) B. Gleb And Pizza(數論)
B. Gleb And Pizza time limit per test 2 seconds memory limit per test 256 megabytes input standard input
原创 Roads in the North POJ - 2631(樹的直徑)
Roads in the North Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 2992 Accepted: 1477 Description
原创 A Simple Problem with Integers POJ - 3468 (線段樹區間增減,區間查詢模板)
A Simple Problem with Integers Time Limit: 5000MS Memory Limit: 131072K Total Submissions: 117870 Accepted: 3666
原创 Codeforces Round #430 (Div. 2) C. Ilya And The Tree(dfs+最大公約數+因子+樹)
C. Ilya And The Tree time limit per test 2 seconds memory limit per test 256 megabytes input standard input
原创 I Hate It HDU - 1754(線段樹單點修改,區間求最大值模板)
I Hate It Time Limit: 9000/3000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 8284
原创 transaction transaction transaction HDU - 6201(dfs)
transaction transaction transaction Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 132768/132768 K (Java/Other