摘要:
题意:给出n个点的坐标,问取出其中任意点围成的区域的最小值! 很明显,找到一个合适的三角形即可。 c include include include include include include using namespace std; const int maxn = 100 + 10; con 阅读全文
摘要:
这道题很坑,注意在G++下提交,否则会WA,还有就是a或b中较大的那个数的范围。。 c include include include using namespace std; const int maxn = 1e6 + 10; int prime[maxn]; bool isprime[maxn 阅读全文
摘要:
```c #include #include #include using namespace std; const int maxn = 100000; int T, N, D; int x, y; int f[maxn]; void init() { for(int i = 0; i D) ans++; } } printf("%d\n",ans); } } ``` 阅读全文