АК
Size: a a a
АК
Z
Z
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main()
{
vector<int> x = {1, 5, 9, 2};
vector<int> r = {1, 7, 8, 2};
vector<int> all = {};
int i = 1;
while (i <= x.size() && i <= r.size())
{
for (auto c : x)
{
for (auto b : r)
{
if (c == b)
{
all.push_back(c);
}
}
}
for (auto g : all)
{
cout << g << endl;
}
return 0;
}
}
IO
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main()
{
vector<int> x = {1, 5, 9, 2};
vector<int> r = {1, 7, 8, 2};
vector<int> all = {};
int i = 1;
while (i <= x.size() && i <= r.size())
{
for (auto c : x)
{
for (auto b : r)
{
if (c == b)
{
all.push_back(c);
}
}
}
for (auto g : all)
{
cout << g << endl;
}
return 0;
}
}
IO
Z
Z
АК
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main()
{
vector<int> x = {1, 5, 9, 2};
vector<int> r = {1, 7, 8, 2};
vector<int> all = {};
int i = 1;
while (i <= x.size() && i <= r.size())
{
for (auto c : x)
{
for (auto b : r)
{
if (c == b)
{
all.push_back(c);
}
}
}
for (auto g : all)
{
cout << g << endl;
}
return 0;
}
}
Z
Z
Z
Z
Z
IO
Z
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main()
{
vector<int> x = {1, 5, 9, 2};
vector<int> r = {1, 7, 8, 2};
vector<int> all = {};
int i = 1;
while (i <= x.size() && i <= r.size())
{
for (auto c : x)
{
for (auto b : r)
{
if (c == b)
{
all.push_back(c);
}
}
}
for (auto g : all)
{
cout << g << endl;
}
return 0;
}
}
Z
IO
Z
IO
Z