We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
You need the count of all cities, regardless of their ID, minus the number of distinct cities. The number of duplicate cities is 13, so it looks like your query is off by 1.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Weather Observation Station 4
You are viewing a single comment's thread. Return to all comments →
Why are you doing count id < 2?
You need the count of all cities, regardless of their ID, minus the number of distinct cities. The number of duplicate cities is 13, so it looks like your query is off by 1.