Actual One Liner||C++
Intuition\n Describe your first thoughts on how to solve this problem. \nDay resets at 24.So the count gets set back to 0 upon time>=24;\n\n# Approach\n Describ
# Intuition\n<!-- Describe your first thoughts on how to solve this problem. -->\nDay resets at 24.So the count gets set back to 0 upon time>=24;\n\n# Approach\n<!-- Describe your approach to solving the problem. -->\nIf delay==24 we reset it 0. Delay caps at 24,so simply mod 24 works.\nNow for the final time,it is just addition but we will reset to 0 after 23.\nThus,we again with mod 24 over the final sum.\n\n# Complexity\n- Time complexity:O(1)\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n- Space complexity:O(1)\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```\nclass Solution \n{\n    public:\n        int findDelayedArrivalTime(int a,int d) \n        {\n            return (a+(d%24))%24;\n        }   \n};\n```
['C++']