Advertisement
Guest User

Untitled

a guest
Aug 20th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.19 KB | None | 0 0
  1. for((i = 0; i <= 10000; i += 1))
  2. do
  3.     ./g 300000 > t/g
  4.     ./m < t/g > t/m
  5.     ./b < t/g > t/b
  6.  
  7.     if diff t/m t/b > /dev/null
  8.     then
  9.         echo "OK $i"
  10.     else
  11.         echo "WA $i"
  12.         exit 0
  13.     fi
  14. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement