Advertisement
smirnov_i

Untitled

Apr 26th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. import sys
  2. sys.stdin = open('input', 'r')
  3. a = []
  4. for i in range(40):
  5. a.append(input().split())
  6. b = []
  7. for i in range(40):
  8. b.append(input().split())
  9.  
  10. for i in range(40):
  11. print('Test', i + 1, end = ' ')
  12. v1 = 0
  13. v2 = 0
  14. if a[i][1] == 'OK':
  15. v1 = float(a[i][-1][6:])
  16. if b[i][1] == 'OK':
  17. v2 = float(b[i][-1][6:])
  18. print(v1, v2, v2 - v1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement