Bruteforce
Code\n\nclass Solution {\npublic:\n    vector<int> circularGameLosers(int n, int k) {\n        int arr[50]={0};\n        int i=1;\n        int K=k;\n        whi
# Code\n```\nclass Solution {\npublic:\n    vector<int> circularGameLosers(int n, int k) {\n        int arr[50]={0};\n        int i=1;\n        int K=k;\n        while(1){\n            if(arr[i-1]==1)\n                break;\n            arr[i-1]=1;\n            i= (i+K)%n;\n            if(i==0) i=n;\n            K+=k;\n        } \n        vector<int> result;\n        for(int k=0;k<n;k++){\n            if(arr[k]==0) result.push_back(k+1);\n        }\n        return result;\n    }\n};\n```
['C++']