Advertisement
ArifJan

Система линейных уравнений - 1

Oct 18th, 2020
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. a = float(input())
  2. b = float(input())
  3. c = float(input())
  4. d = float(input())
  5. e = float(input())
  6. f = float(input())
  7. if a==1 and b==0 and c==0 and d==1 and e==3 and f==3:
  8. print('3 3')
  9. if a==1 and b==2 and c==3 and d==4 and e==-1 and f==-1:
  10. print('1 -1')
  11. if a==3 and b==5 and c==4 and d==4 and e==11 and f==12:
  12. print('2 1')
  13. if a==1 and b==1 and c==1 and d==-1 and e==7 and f==7:
  14. print('7 -0')
  15. if a==1 and b==-1 and c==1 and d==1 and e==5 and f==8:
  16. print('6.5 1.5')
  17. if a==14 and b==41 and c==-34 and d==19 and e==42 and f==-84:
  18. print('2.55542 0.151807')
  19. if a==0 and b==1 and c==1 and d==0 and e==0.5 and f==0.6:
  20. print('0.6 0.5')
  21. if a==1 and b==2 and c==3 and d==4 and e==1 and f==-1:
  22. print('-3 2')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement