GoConqr has a new look! Let us know what you think.

Flowchart

Untitled

Carlos Corral Spanish

Flowchart content

  1. Text file

    (List of integers)

  2. Read 1st (n) integer

  3. Read "n" integers and save in "arr"

  4. Create an array (arr) of size n

  5. Divide the array in 4 parts

  6. Create 4 arrays of size n/4

  7. Allocate each quarter in the 4 arrays already made

  8. Create function(f) that search the highest vlalue of an arrray.

  9. int x=INT_MIN;

    For( int i=0;i< arr.length();i++){

    if(arr[i]>x){

    x=arr[i];

    }

    }

    return x

  10. for each thread

    int x1=f(array1);

  11. Create an array(arr final) to allocate all the results

  12. int xf=f(arrfinal);

  13. Return xf;

Information

Description
Flowchart on Untitled, created by Carlos Corral on 18/03/2021.
Created by
Carlos Corral
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?