Language : C++(NOTE : Try a few times yourself before moving to the solution)
#include <bits/stdc++.h>
using namespace std;
typedef unsigned long long ll;
int main()
{
ll t;
cin >> t;
for(int i = 0;i> N;
N--;
while(N!=0)
{
if(N%2)count++;
N>>=1;
}
if(count%2)cout << "Louise" << endl;
else cout << "Richard" << endl;
}
return 0;
}
No comments:
Post a Comment