5 条题解
-
2
感觉不如……
#include <bits/stdc++.h> using namespace std; class cmp { public: bool operator()(const int v1,const int v2) const { return v1<v2; } }; set<int,cmp> p; int main() { int a; while(cin >> a) p.insert(a); //sort(p.begin(),p.end()); for(auto x:p) cout << x << " "; return 0; }
- 1
信息
- ID
- 806
- 时间
- 1000ms
- 内存
- 256MiB
- 难度
- 5
- 标签
- 递交数
- 736
- 已通过
- 281
- 上传者