Flowchart
Untitled
Flowchart content
Text file
(List of integers)
Read 1st (n) integer
Read "n" integers and save in "arr"
Create an array (arr) of size n
Divide the array in 4 parts
Create 4 arrays of size n/4
Allocate each quarter in the 4 arrays already made
Create function(f) that search the highest vlalue of an arrray.
int x=INT_MIN;
For( int i=0;i< arr.length();i++){
if(arr[i]>x){
x=arr[i];
}
}
return x
for each thread
int x1=f(array1);
Create an array(arr final) to allocate all the results
int xf=f(arrfinal);
Return xf;
Information
- Description
- Flowchart on Untitled, created by Carlos Corral on 18/03/2021.
- Created by
- Carlos Corral
- Views
- 0
- Rating