Java Simple Solution [Faster Than 100%]
\nclass Solution {\n    public int minCostSetTime(int startAt, int moveCost, int pushCost, int ts) {\n        int min = ts / 60; \n        int sec = ts % 60;\n 
```\nclass Solution {\n    public int minCostSetTime(int startAt, int moveCost, int pushCost, int ts) {\n        int min = ts / 60; \n        int sec = ts % 60;\n        \n        if(min > 99){\n            min--;\n            sec += 60;\n        }\n\t\t\n        int ans = Integer.MAX_VALUE;\n        while(min >=0 && sec <= 99){\n            ans = Math.min(ans, cost(startAt, moveCost, pushCost, (min * 100) + sec));\n            min--;\n            sec+=60;\n        }\n        return ans;\n    }\n    \n    int cost(int start, int move, int push, int time){\n        List<Integer> list = new ArrayList<>();\n        while(time != 0){\n            list.add(time%10);\n            time = time/10;\n        }\n        int res = 0;\n        for(int i = list.size()-1; i>=0; i--){\n            if(list.get(i) == start){\n                res += push;\n                continue;\n            }\n            \n            res += move + push;\n            start = list.get(i);\n        }\n        return res;\n    }\n}\n```
['Java']