fork download
  1. //PTSO - Phân tích số
  2. //Author: kietjumper
  3.  
  4.  
  5. #include <bits/stdc++.h>
  6. using namespace std;
  7.  
  8.  
  9.  
  10. int main()
  11. {
  12. int n;
  13. cin >> n;
  14. for (int i = 2; i<=n; i++){
  15. while(n%i == 0){
  16. cout<< i;
  17. n /=i;
  18. }
  19. }
  20. }
Success #stdin #stdout 0.01s 5276KB
stdin
Standard input is empty
stdout
27111113