Submission #498159

#TimeUsernameProblemLanguageResultExecution timeMemory
498159fuad27Chessboard (IZhO18_chessboard)C++17
0 / 100
0 ms204 KiB
#include<bits/stdc++.h> using namespace std; int main () { int n, k; cin >> n >> k; int z = 1; while(n%z == 0 and n>z) { z*=2; } z/=2; long long ans = (((n/z)*(n/z))/2)*((n/(n/z))*(n/(n/z))); cout << ans << endl; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...