原创 [叉乘]USCOJ 1016 多邊形面積

傳送門:多邊形面積 1016: 多邊形面積 Description 給出一個多邊形的頂點座標,請計算出這個多邊形的面積 (不一定是凸多邊形) 。 Input    輸入的第一行爲一個正整數t ( t<=10 ),表示有

原创 [數論] HOJ 2947 Calculation 2 歐拉函數

傳送門:Calculation 2 Calculation 2 My Tags   (Edit)   Source : GTmac   Time limit : 1 sec   Memory limit : 64

原创 [樹狀數組]POJ 2299 Ultra-QuickSort

傳送門:Ultra-QuickSort Ultra-QuickSort Time Limit: 7000MS   Memory Limit: 65536K Total Submissions: 37112   Accepted: 1

原创 [數論] HOJ 2561 MaoLaoDa Number 篩素數

傳送門:MaoLaoDa Number MaoLaoDa Number My Tags   (Edit)   Source : MaoLaoDa   Time limit : 5 sec   Memory limi

原创 HOJ 2022 Mersenne Composite Numbers

Mersenne Composite Numbers My Tags   (Edit)   Source : ACM ICPC Pacific Northwest 2004   Time limit : 1 sec

原创 [數論] HOJ 1015 Nearly prime numbers 篩素數

傳送門:Nearly prime numbers Nearly prime numbers My Tags   (Edit)   Source : Unknown   Time limit : 1 sec   Me

原创 [數論] POJ 3090/HOJ 2416 Visible Lattice Points 歐拉函數

傳送門:Visible Lattice Points Visible Lattice Points Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 5126

原创 list詳解

List詳解 一、pop_back(),pop_front(),push_back(val),push_front(val),back(),front(),clear(),empty(),size() pop_back() 刪除鏈表的

原创 [樹狀數組]POJ 2352 Stars

傳送門:Stars Stars Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 29248   Accepted: 12790 Description

原创 [數論]HDU 1452 Happy 2004 素因子分解+快速冪模+乘法逆元

傳送門:Happy 2004 Happy 2004 Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total S

原创 [數論] HOJ 1528/ZOJ 1823 Factoring Large Numbers

傳送門:Factoring Large Numbers Factoring Large Numbers Time Limit: 2 Seconds      Memory Limit: 65536 KB One of the centr

原创 [並查集]POJ 1611 The Suspects

傳送門:The Suspects The Suspects Time Limit: 1000MS   Memory Limit: 20000K Total Submissions: 19859   Accepted: 9644

原创 [並查集]HDU 1829/POJ 2492/HOJ 2319 A Bug's Life

傳送門:A Bug's Life A Bug's Life Time Limit: 15000/5000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) To

原创 [並查集]HOJ 2676 Relation

傳送門:Relation Relation My Tags   (Edit)   Source : lilu0355   Time limit : 1 sec   Memory limit : 64 M Su

原创 Codeforces Round #229 (Div. 2)A. Inna and Alarm Clock

A. Inna and Alarm Clock time limit per test 1 second memory limit per test 256 megabytes input standard input