Easy | Simple to Understand
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)$$ -->\n\n- Space complexity:\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```\nclass Solution {\npublic:\n    vector<int> circularGameLosers(int n, int k) {\n        vector<int> vec(n+1,0);\n        int i=1;\n        int cur=1;\n        vec[1]++;\n        while(true){\n            int p=i*k;\n            cur=cur+p;\n            if(cur%n!=0)\n            cur=cur%n;\n            else{\n                cur=n;\n            }\n            \n            vec[cur]++;\n            if(vec[cur]==2) break;\n            i++;         \n        }\n\n        vector<int> ans;\n        for(int x=1;x<vec.size();x++){\n            if(vec[x]==0){\n                ans.push_back(x);\n            }\n        }\n        return ans;\n    }    \n\n\n        \n\n};\n```
['C++']