Linux tsuru-no-tsurugi 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64
Apache/2.4.52 (Ubuntu)
Server IP : 192.168.0.18 & Your IP : 216.73.217.105
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
submit2 /
114827 /
Delete
Unzip
Name
Size
Permission
Date
Action
a.cpp
911
B
-rwxr-x---
2024-08-28 22:35
cerror.txt
0
B
-rwxr-x---
2024-08-28 22:35
error.txt
0
B
-rwxr-x---
2024-08-28 22:35
submit_info.txt
867
B
-rwxr-x---
2024-08-28 22:35
Save
Rename
#include <bits/stdc++.h> using namespace std; #include <iostream> #include <vector> using namespace std; vector<long long> prime_factors(long long N) { vector<long long> ans; while (N % 2 == 0) { ans.push_back(2); N /= 2; } for (long long i = 3; i * i <= N; i += 2) { while (N % i == 0) { ans.push_back(i); N /= i; } } if (N > 2) { ans.push_back(N); } return ans; } int main(){ long long N;cin>>N; vector<long long> g; for(int i=0;i<1000000000;i++){ if(N%57==0){ N=N/57; g.push_back(57); } else{ break; } } vector<long long> ans = prime_factors(N); sort(ans.begin(),ans.end()); for(auto p:g){ ans.push_back(p); } for(auto p:ans){ cout << p << " "; } cout << endl; return 0; }