190
edits
Changes
m
→Case A
==Case A==
test1.cpp
#include <iostream>
using namespace std;
int main() {
#pragma omp parallel
{
#pragma omp for
for (int i = 0; i < 10; i++)
cout << " now i at test1= " << i << endl;
}
}
test2.cpp
#include <iostream>
using namespace std;
int main() {
#pragma omp parallel
{
#pragma omp for
for (int j = 0; j < 10; j++)
cout << " now j at test2= " << j << endl;
}
}
==Case B==