
poj
xx_zzj
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
F - Visible Lattice Points POJ - 3090
#include <cstdio> #include <iostream> #include <cstring> #include <cmath> #include <algorithm> using namespace std; //通过看图可知,图示对称的,而且在对角线一侧,是斜率小于一的,每次看看有多少斜率小于一的,乘二,然后,斜...原创 2018-07-25 20:22:35 · 142 阅读 · 0 评论 -
B - Linear Algebra Test Gym - 101502B
#include <iostream> #include <cstdio> #include <cstring> #include <string> #include <map> #include <set> using namespace std; const int maxn = 100000 + 10; int u[...原创 2018-07-26 19:17:19 · 151 阅读 · 0 评论 -
F - Building Numbers Gym - 101502F
#include <iostream> #include <stdio.h> #include <string.h> #include <stdlib.h> #define ull unsigned long long using namespace std; ull deal(ull a) { if(a == 2)return 1; ...原创 2018-07-26 19:21:18 · 158 阅读 · 0 评论 -
J - Boxes Game Gym - 101502J
#include <iostream> #include <stdio.h> #include <string.h> #include <stdlib.h> #define ull unsigned long long using namespace std; const int INF=1000000; int a[1009]; int d[1...原创 2018-07-26 20:39:30 · 395 阅读 · 0 评论 -
E - Entertainment Box Gym - 100781E
#include <iostream> #include <set> #include<cstdio> #include<algorithm> const int maxn=100000+10; struct P { int start,endness; bool operator<(const P&s) { ...转载 2018-08-01 20:55:04 · 312 阅读 · 0 评论 -
A-An Olympian Math Problem
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536K Problem Description Alice, a student of grade 6, is thinking about an Olympian Math problem, but she feels so despair that she cries. And h...原创 2018-09-01 16:15:51 · 893 阅读 · 0 评论