You are correct, here is a corrected function:

#include <math.h>

double dist(double x_1, double y_1, double x_2, double y_2){
	return sqrt(pow(x_2 - x_1, 2) + pow(y_2 - y_1, 2));
}
 คุณถูกต้อง นี่คือฟังก์ชันที่แก้ไขแล้ว: #include <math.h> double dist(double x_1, double y_1, double x_2, double y_2){ return sqrt(pow(x_2 - x_1, 2) + pow(y_2 - y_1 , 2)); }
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence