You are viewing a single comment's thread. Return to all comments →
string pokerNim(int k, vector<int> c) { int r=0; for(int i=0;i<c.size();i++){ r ^= c[i]; } if(r!=0) return "First"; else return "Second"; }
Seems like cookies are disabled on this browser, please enable them to open this website
Poker Nim
You are viewing a single comment's thread. Return to all comments →