摘要: 用set写真是轻松愉快;#include#include#include#includeusing namespace std;setst;int ans;int main(){ int n,x; st.insert(-99999999); st.insert(99999999); scanf("%d",&n); for(int i=0; i0) { ans+=y; st.insert(x); } } } printf("%d\n",a... 阅读全文
posted @ 2013-12-05 18:14 Yours1103 阅读(309) 评论(0) 推荐(0) 编辑