Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
4149 coj WIP
#include <iostream> #include <map> using namespace std; bool jugada(int n) { if(n&1) return false; return !jugada(n>>1); } int main() { ios_base::sync_with_stdio(0); cin.tie(0); int T, N; cin >> T; while(T--) { cin >> N; if(jugada(N)) cout << "TAK\n"; else cout << "NIE\n"; } }
run
|
edit
|
history
|
help
0
cppPyDicCom
CPP Multi Inherit
doubly
subset sum=k(dp)
mirrorpoint
LRU - DLL
good triplet
Continuous Sub Set with given sum
temp_new
remove_30-Seconds-of-C++