Simulate the process communication and send the messages using memory or message queues
#include <iostream>
using namespace std;
int main() {
int a;
string b;
cin>>a;
cin>>b;
for(int i=0;i<a;i++){
cout<<b;
}
return 0;
}
#include <iostream>
using namespace std;
int main() {
int a;
string b;
cin>>a;
cin>>b;
for(int i=0;i<a;i++){
cout<<b;
}
return 0;
}
Comments
Post a Comment