For this input: I 10 I 20 I 30 I 40 PM IK 10 100 DK 40 40 PM DM PM PT You might get the following output: The minimum element is 10 The minimum element is 0 The minimum element is 20 Total CPU time = 20000 microsecods