Cancellation rate by city
Operations watch cancellations. For each city, compute the share of cancelled trips as a percentage rounded to two decimals. Return city and cancel_pct, ordered by city.
Voorbeeld van verwachte uitvoer
Zo ziet een correct antwoord eruit — het aantal rijen is op zichzelf staand en hoeft niet overeen te komen met de schematabellen.
| city | cancel_pct |
|---|---|
| Kazan | 33.33 |
| Moscow | 25 |
| Sochi | 50 |
Log in om je inzendingsgeschiedenis te zien
InloggenLog in om de AI-mentor te gebruiken
Inloggen