摘要: Memory: 284K Time: 500MS #include using namespace std;int n;int l[20001];int main() { while(~(scanf("%d", &n))) { for(int i=0; i> l[i];... 阅读全文
posted @ 2016-07-09 15:48 StevenLuke 阅读(120) 评论(0) 推荐(0) 编辑
摘要: #include #include #include using namespace std;struct st { int d; int f;} s[10005];bool cmp(st a, st b) { return a.d q; int ans = 0, pos = 0, ta... 阅读全文
posted @ 2016-07-09 15:34 StevenLuke 阅读(120) 评论(0) 推荐(0) 编辑