#includeusing&nb...
发布于 2022-03-03 14:11:14
#include <iostream> #include <vector> #include <set> using namespace std int main() { int n = 5 vector<int> a set<int> b for (int i = 1 i <= n ++i) { a.push_back(i) b.insert(i) } for (int i = 1 i <= n ++i) { a.push_back(i) b.insert(i) } cout << a.size() << b.size() << endl return 0 }
程序的输出为()
登录后免费查看答案
关注者
0
被浏览
15