poj
文章平均质量分 71
Han_zhenyu
这个作者很懒,什么都没留下…
展开
-
poj 3468__A Simple Problem with Integers(区间求和,成段更新)
区间求和,成段更新原创 2015-08-14 10:34:20 · 356 阅读 · 0 评论 -
POJ2586
#include #include #include #include #include #include #include const double PI=acos(-1.0);using namespace std;typedef long long ll;int main(){ int s,d; while(~scanf("%d%d",&s,&d))原创 2016-07-19 10:02:54 · 337 阅读 · 0 评论 -
POJ1328
#include #include #include #include #include #include #include const double PI=acos(-1.0);using namespace std;typedef long long ll;struct node{ int x,y; double l,r;}isl[1005];doub原创 2016-07-19 10:01:52 · 328 阅读 · 0 评论 -
POJ2965-The Pilots Brothers' refrigerator
与POJ1753思想基本一致,刚开始用栈记录路径,结果超时,后来想用两个数组覆盖路径即可。#include #include #include #include #include #include #include const double PI=acos(-1.0);using namespace std;typedef long long ll;bool str[6][原创 2016-07-17 17:10:32 · 254 阅读 · 0 评论 -
POJ1753-Flip Game
Flip GameTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 39581 Accepted: 17186DescriptionFlip game is played on a rectangular 4x4 field with two-sided p原创 2016-07-17 16:15:55 · 247 阅读 · 0 评论 -
POJ 1860 最短路
Bellman Ford可以求是否存在负权回路,我们把他改成求正权回路。#include <cstdio>#include <cstring>#include <algorithm>#include <queue>#include <cmath>#include <set>#include <iostream>const double PI=acos(-1.0);using name原创 2016-07-23 10:37:57 · 317 阅读 · 0 评论 -
poj 3299__Humidex
HumidexTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 19054 Accepted: 6885DescriptionAdapted from Wikipedia, the free encyclopediaThe humidex is a me原创 2015-10-21 19:35:38 · 355 阅读 · 0 评论 -
poj 2240__Arbitrage (Floyd)
ArbitrageTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 18152 Accepted: 7676DescriptionArbitrage is the use of discrepancies in currency exchange rates t原创 2015-09-03 09:58:21 · 306 阅读 · 0 评论 -
poj 3264__Balanced Lineup(区间最值问题)
区间最值问题原创 2015-08-14 12:19:57 · 478 阅读 · 0 评论 -
POJ3295
/***********************************Problem: 3295 User: 626478972Memory: 212K Time: 16MSLanguage: C++ Result: Accepted************************************/#include #include #include #incl原创 2016-07-19 10:04:46 · 352 阅读 · 0 评论