Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- while (true); do
- ./gen > input
- ./solution1 < input > output1
- ./solution2 < input > output2
- if (diff output1 output2); then
- cat output1
- else
- break
- fi
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement