摘要:
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];... 阅读全文
摘要:
#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... 阅读全文