2x2 Matrix Multiply

Computer Mathematics Medium 2 views
Back to Questions
Next 2x2 Determinant Easy N

Problem Description

Multiply two 2x2 matrices.

Input Format

Eight integers a11 a12 a21 a22 b11 b12 b21 b22.

Output Format

Four integers of product row-wise.

Sample Test Case

Input:
1 2 3 4 5 6 7 8
Output:
19 22 43 50

Constraints

Values fit 64-bit

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Next