Submission #711698

#TimeUsernameProblemLanguageResultExecution timeMemory
711698pccPopcount (COCI19_popcount)C++14
0 / 110
1 ms340 KiB
#include <bits/stdc++.h> using namespace std; int main(){ ios::sync_with_stdio(0);cin.tie(0);cout.tie(0); int n,k; cin>>n>>k; cout<<n-1<<'\n'; for(int i = 1;i<n;i++){ cout<<"A=((A&(1<<"<<i<<"))>>"<<i<<")+(A-(A&"<<"(1<<"<<i<<")))\n"; } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...