中点の座標

平面上に2つの点があるとき、その中点の座標を見つけるのがあなたの課題です。最初の点のx1y1の座標、2番目の点のx2y2の座標が与えられたとき、x0y0として中点の座標を出力するプログラムを作成してください。
 
notion image
入力
出力
3 5 2 1
2.5 3
3 3 3 4
3 3.5

Constraints

Time limit: 1 seconds

Memory limit: 512 MB

Output limit: 1 MB

To check your solution you need to sign in
Sign in to continue