GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Flussdiagramm

Ohne Titel

Carlos Corral Spanisch

Inhalt des Flussdiagramms

  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;

Informationen

Beschreibung
Flussdiagramm am Ohne Titel, erstellt von Carlos Corral am 18/03/2021.
Erstellt von
Carlos Corral
Aufrufe
0
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck