原创 暑期訓練賽(6)A題

#include<iostream> #include<cstdio> #include<cstring> #include<vector> #include<queue> using namespace std; const int m

原创 POJ1375-Intervals

Intervals Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 3970   Accepted: 1149 Description In the ceili

原创 POJ1151-Atlantis

Atlantis Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 17048   Accepted: 6493 Description There are se

原创 Codeforces Div. 2 #259-C. Little Pony and Expected Maximum

C. Little Pony and Expected Maximum time limit per test 1 second memory limit per test 256 megabytes input stan

原创 POJ1434-Fill the Cisterns!

Fill the Cisterns! Time Limit: 5000MS   Memory Limit: 10000K Total Submissions: 3197   Accepted: 1080 Description Dur

原创 POJ1389-Area of Simple Polygons

Area of Simple Polygons Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 3074   Accepted: 1570 Descriptio

原创 POJ1177-Picture

Picture Time Limit: 2000MS   Memory Limit: 10000K Total Submissions: 10284   Accepted: 5452 Description A number of r

原创 POJ3695-Rectangles

Rectangles Time Limit: 2000MS   Memory Limit: 65536K Total Submissions: 3497   Accepted: 1003 Description You are d

原创 atan函數與atan2函數的一點區別

atan函數與atan2函數的一點區別 2011-09-23 09:16 5462人閱讀 評論(3) 收藏 舉報 float  atan 和 atan2 都是求反正切函數,如:有兩個點 point(x1,y1), 和 poi

原创 POJ3565-Ants

Ants Time Limit: 5000MS   Memory Limit: 65536K Total Submissions: 4251   Accepted: 1309   Special Judge Description

原创 hihoCoder- Trie樹

時間限制:10000ms 單點時限:1000ms 內存限制:256MB 描述 小Hi和小Ho是一對好朋友,出生在信息化社會的他們對編程產生了莫大的興趣,他們約定好互相幫助,在編程的學習道路上一同前進。 這一天,他們遇到了一本詞典,

原创 任意三角形外界圓的圓心和半徑

/** 處理:如三點共線,則返回false;否則,返回true,並將計算得到的圓心與半徑存放在center和radius衆返回。 */ bool triangleCircle(const Point& p1,const Point& p

原创 Codeforces Div. 2 #259-A. Little Pony and Crystal Mine

A. Little Pony and Crystal Mine time limit per test 1 second memory limit per test 256 megabytes input sta

原创 HDU4907-Task schedule

Task schedule Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s):

原创 POJ1329-Circle Through Three Points

Circle Through Three Points Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 3262   Accepted: 1384 Descri