CDVNT01H - Editorial

PROBLEM LINK:

Practice

Contest: CodeVenture 1.0

Setter: Nisarg Thakkar

Tester: Malhar Patel

Editorialist: Jaydeep Mulani

DIFFICULTY:

Medium

PREREQUISITES:

Gaussian Method of Matrix Elimination

PROBLEM:

The idea behind the problem boils down to following : You are given N linear equations and you have to calculate the sum of its solutions and then find the sum of the factors of the absolute value of the sum of its solutions.

EXPLANATION

The Idea is simple - Use the Gaussian Methods of Matrix Elimination to find the solution of the linear equations and then find the absolute value of the sum of its solutions to find the sum of its factors.

SOLUTIONS:

KTLN Solution

Code

Feel free to Share your approach, if you want to. (even if its same :stuck_out_tongue: ) . Suggestions are welcomed as always had been. :slight_smile:

This applies to all your current editorials:

pasting your codes would have been more helpful than attaching a link to any third party website from where codes can be taken down any time the owner wants :slightly_frowning_face:

Hey @harshraj22,
Your comment has a point and we will make sure to do that from next time.
PS: I am the owner of the repo so I am not taking down the codes anytime soon…:wink: