# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
911279 | LuciferGoku | Permutation (APIO22_perm) | C++17 | 1 ms | 348 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include<bits/stdc++.h>
using namespace std;
using ll = long long int;
#define int long long
// signed main(){
// ios_base::sync_with_stdio(false);
// cin.tie(NULL);
// int t;
// cin >> t;
// while(t--){
// int x;
// cin >> x;
// vector<int> ans;
// int j=0;
// while((1LL<<j)<=x) j++;
// j--;
// for(int i=1; i<=j; i++) ans.push_back(i);
// x-=(1LL<<j);
// // cout << x << endl;
// while(x!=0){
// j=0;
// while((1LL<<j)<=x) j++;
// ans.push_back(j);
// j--;
// x-=(1LL<<j);
// }
// cout << ans.size() << endl;
// for(auto i: ans){
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |