登录 注册
当前位置:主页 > 资源下载 > 46 > 网络安全业务领域的竞赛

网络安全业务领域的竞赛

  • 更新:2024-10-11 10:35:08
  • 大小:1.03MB
  • 推荐:★★★★★
  • 来源:网友上传分享
  • 类别:其它 - 网络技术
  • 格式:DOC

资源介绍

竞赛题目#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #define CLR(a) memset(a, 0, sizeof(a)) using namespace std; typedef long long ll; typedef long double ld; typedef unsigned long long ull; typedef pair pii; typedef pair pll; typedef pair psi; typedef pair pss; const double PI = 3.14159265358979323846264338327; const double E = exp(1); const double eps = 1e-6; const int INF = 0x3f3f3f3f; const int maxn = 1e6 + 5; const int MOD = 1e9 + 7; int main() { int n; cin >> n; vector v; int num; for (int i = 0; i < n; i++) { scanf("%d", #); v.push_back(num); } cin >> n; for (int i = 0; i < n; i++) { scanf("%d", #); v.erase(v.begin() + num - 1); } vector ::iterator it; for (it = v.begin(); it != v.end(); it++) { if (it != v.begin()) printf(" "); cout << *it; } cout << endl; } --------------------- 作者:Dup4 来源:**** 原文:https://blog.****.net/dup4plz/article/details/79666083 版权声明:本文为博主原创文章,转载请附上博文链接!#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #define CLR(a) memset(a, 0, sizeof(a)) using namespace std; typedef long long ll; typedef long double ld; typedef unsigned long long ull; typedef pair pii; typedef pair pll; typedef pair psi; typedef pair pss; const double PI = 3.14159265358979323846264338327; const double E = exp(1); const double eps = 1e-6; const int INF = 0x3f3f3f3f; const int maxn = 1e6 + 5; const int MOD = 1e9 + 7; int main() { int n; cin >> n; vector v; int num; for (int i = 0; i < n; i++) { scanf("%d", #); v.push_back(num); } cin >> n; for (int i = 0; i < n; i++) { scanf("%d", #); v.erase(v.begin() + num - 1); } vector ::iterator it; for (it = v.begin(); it != v.end(); it++) { if (it != v.begin()) printf(" "); cout << *it; } cout << endl; } --------------------- 作者:Dup4 来源:**** 原文:https://blog.****.net/dup4plz/article/details/79666083 版权声明:本文为博主原创文章,转载请附上博文链接!