Update

One new tab added. Open in browser view if it is not visible. (25/08/2022 08:48)

Counter game

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: