7月30号,ACM集训进行了两周,一切都已on the right way。这时的我适时地从题海中探出头,其实除了刷题,也该写点什么来总结下过去。首先,在第一周里,我学习了数据结构,知道了STL这么一个神奇的存在…
I.题目:Optimal Point on a Line #include<iostream>
#include<cstdio>
#include<algorithm>
using namespace std;
int main()
{int n;int x[300005];scanf("%d",&n);for(int i0;i<n;i)scanf("%d",&x[i]);sort(…
digg bt It may be a bit ironic for me to complain about Digg’s inability to break news, because that’s hardly breaking news itself — Digg hasn’t been very good at timely reporting in a long while. But this morning, while reading my feed of tech “news”…