¡GoConqr estrena diseño! Cuéntanos qué te parece.

Diagrama de flujo

Sin título

Carlos Corral Español

Contenido del diagrama

  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;

Información

Descripción
Diagrama sobre Sin título, creado por Carlos Corral el 18/03/2021.
Creado por
Carlos Corral
Visitas
0
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?