#include <cmath> #include <math.h> const ganda bumi_radius = 6378.1; jarak ganda(double lat1, ganda lon1, ganda lat2, ganda lon2) { // ngarobah lintang jeung panjang ka // koordinat spherical dina radians. ganda rlat1 = lat1 * (M_PI/180); ganda rlat2 = lat2 * (M_PI/180); ganda rlon1 = lon1 * (M_PI/180); ganda rlon2 = lon2 * (M_PI/180); // Haversine rumus ganda dlon = rlon2 - rlon1; ganda dlat = rlat2 - rlat1; ganda alat = powsindlat / 2), 2) + cosrlat1) * cosrlat2) * powdlon / 2), 2) c((((((((((((((((((((
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence