Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- rm -f all_results.txt
- touch all_results.txt
- for f in $(ls -v testy/); do time ./her < testy/$f >> all_results.txt; done
- python -c "w = 0
- mod = 10**9 + 7
- for i in range(1, 1360+1):
- x = int(input())
- w=(w+x*(100**i))%mod
- print(w)" < all_results.txt
Advertisement
Add Comment
Please, Sign In to add comment