Guest User

Untitled

a guest
Jul 16th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. # Did the servers produce the same orders?
  2. for($i = 0; $i < $np; $i++){
  3. if(!defined($peers->[$i]{dead})){
  4. my @a = @{$pl->[$i]};
  5. my $j;
  6. for($j = 0; $j <= $#a0; $j++){
  7. if($a[$j] ne $a0[$j]){
  8. return "servers produced different orders";
  9. }
  10. }
  11. $ns += 1;
  12. }
  13. }
Add Comment
Please, Sign In to add comment