Number of Senior Citizens Solution in C++
Intuition\n Describe your first thoughts on how to solve this problem. \n\n# Approach\n Describe your approach to solving the problem. \n\n# Complexity\n- Time 
# Intuition\n<!-- Describe your first thoughts on how to solve this problem. -->\n\n# Approach\n<!-- Describe your approach to solving the problem. -->\n\n# Complexity\n- Time complexity:\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\nO(n)\n- Space complexity:\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\nO(1)\n# Code\n```\nclass Solution {\npublic:\n    int countSeniors(vector<string>& details) {\n        int i, count=0;\n        for(i=0 ; i<details.size() ; i++)\n        {\n            if((int)details[i][11]>54 || (int)details[i][11]==54 && (int)details[i][12]>=49)\n            {\n                count++;\n            }\n        }\n        return count;\n    }\n};\n```\n![upvote new.jpg](https://assets.leetcode.com/users/images/6888ef7d-dc4b-4298-8f1b-4d3f4848d9ad_1684899245.7077143.jpeg)\n
['C++']