LITTLE GIRL AND GAME. My first FLUKE CODE that worked !
#include<bits/stdc++.h>
using namespace std;
#define iter(a, b, c) for(auto(a) = (b); (a) < (c); ++(a))
#define mod 1000000007
#define pb push_back
#define ff first
#define ss second
#define FIO ios_base::sync_with_stdio(false); cin.tie(NULL);
#define test(w) int w;cin>>w;while(w--)
int main() {
string s; cin>>s;
map<char,int> m;
iter(i,0,s.length()) m[s[i]]++;
int count=0;
for(auto x:m) if(x.second%2==1) count++;
cout<<(count%2==1 || count==0 ?"First":"Second")<<endl;
return 0;
}
Comments
Post a Comment