Hackerrank mathematics solution - find the float solution
HackerRank Online Judge Solution | Mathematics
HackerRank Main Problem Link - https://www.hackerrank.com/challenges/find-point
Problem Name: HackerRank Problem find the float
Online Judge : HackerRank Online Judge Solution
Category: mathematics
Solution Language : C, C plus plus
HackerRank Solution find the float Code in C,CPP:
#include <iostream> using namespace std; int main() { int T; cin >> T; for(int t = 0; t < T; t++){ int x1,x2,y1,y2; cin >> x1 >> y1 >> x2 >> y2; cout << 2*x2-x1 << " " << 2*y2-y1 << endl; } return 0; }
No comments:
Post a Comment