Men bu siz 0 dan 1 ga oraliqdagi ikki nuqta o'rtasidagi masofani xaritasi uchun bir funksiya istayman deb o'ylayman. ```csharp float MapDistanceToRange(float x, float y) {float mappedDistance = (x - y) / (Mathf.Max(x,y)); Mathf.Clamp ((mappedDistance, 0, 1); } ```
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence