Created
January 21, 2019 09:32
-
-
Save abidkhan484/5175c0c5c97320ee39262153e15d023a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| for _ in range(int(input().strip())): | |
| total = 0 | |
| for __ in range(int(input().strip())): | |
| a,b,c = map(int,input().split()) | |
| total += (a*c) | |
| print(total) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment