Modify the program read_cards_2 above to include an array temp of fixed size
chunk=1000. Read card values into temp until it is full. Then assign the cards in
temp as the last elements of the array lost_card. Empty the array temp and repeat
the process until all the cards are read. Make sure to add the correct number of
cards at the last step in case the number is not a multiple of chunk. Using the
cpu_time intrinsic subroutine, compare the times for this program with the original read_cards_2 program for reading 200,040 lost cards. Generate the file of lost
cards with a program of some sort.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here