摘要: 因为给出的点都是整数,都在网格上的,所以正三角形,正五边形,正六边形都是不存在的。暴力枚举四个点,判断一下是不是正方形即可。#include#include#include#includeusing namespace std;int n;int x[30],y[30];class Coordina... 阅读全文
posted @ 2015-08-09 07:42 Fighting_Heart 阅读(191) 评论(0) 推荐(0)
摘要: 先暴力写了一个DFS,然后找规律。。#include#include#include#includeusing namespace std;__int64 dp[1000];int main(){ dp[1]=1; dp[2]=2; dp[3]=3; dp[4]=5; ... 阅读全文
posted @ 2015-08-09 07:40 Fighting_Heart 阅读(132) 评论(0) 推荐(0)