原创 歐拉圖相關知識

百度百科摘的。 歐拉圖 1、定義:經過圖(無向圖或有向圖)中每條邊一次切近義詞並且行遍圖中每個定點的迴路(通路),成爲歐拉回路(歐拉通路),存在歐拉回路的圖稱爲歐拉圖。 2、相關定理相關定理: 1.無向連通圖G是歐拉圖,當且

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

原创 HDU 1540 Tunnel Warfare (線段樹)

Tunnel Warfare Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submissio

原创 HDU 5658 CA Loves Palindromic (迴文樹)

CA Loves Palindromic Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others) Total S

原创 LightOJ 1017 Brush (III) (DP)

Brush (III) Time Limit:2000MS Memory Limit:32768KB 64bit IO Format:%lld & %llu Submit Status Description

原创 UVA 11424 UVA 11424 GCD - Extreme (I) (歐拉函數)

Given the value of N, you will have to find the value of G. The definition of G is given below: i< N j≤N G= GCD(i,

原创 POJ 1459 Power Network (網絡流)

Power Network Time Limit: 2000MS Memory Limit: 32768K Total Submissions: 27278 Accepted: 14176 Descr

原创 POJ 1273 Drainage Ditches (網絡流)

Drainage Ditches Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 70372 Accepted: 27358 De

原创 URAL 1960 Palindromes and Super Abilities (迴文樹)

Palindromes and Super Abilities Time Limit: 1000MS Memory Limit: 65536KB 64bit IO Format: %I64d & %I64u

原创 CSU 1804 有向無環圖 (拓撲排序+亂搞)

有向無環圖 Time Limit: 5000MS Memory Limit: 131072KB 64bit IO Format: %lld & %llu Submit Status Description

原创 HDU 5898 odd-even number (數位DP) 2016 ACM/ICPC Asia Regional Shenyang Online

odd-even number Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submissi

原创 CodeForces 730G Car Repair Shop (優先隊列亂搞)

Car Repair Shop Time Limit: 2000MS Memory Limit: 524288KB 64bit IO Format: %I64d & %I64u Submit Status

原创 CodeForces 17E Palisection (迴文樹)

Palisection time limit per test2 seconds memory limit per test128 megabytes inputstandard input outputstandard

原创 POJ 3264 Balanced Lineup (線段樹)

Balanced Lineup Time Limit:5000MS Memory Limit:65536KB 64bit IO Format:%lld & %llu Submit Status Practice

原创 UVA 7041 The Problem to Slow Down You (迴文樹)

The Problem to Slow Down You After finishing his homework, our problem setter Federmann decided to kill time by han