-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path1164.cpp
More file actions
34 lines (29 loc) · 727 Bytes
/
1164.cpp
File metadata and controls
34 lines (29 loc) · 727 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#include<bits/stdc++.h>
using namespace std;
int main(){
int n;
scanf("%d",&n);
for(int i = 0; i < n;i++){
vector<long long> primos;
vector<long long> numeros;
long long num;
scanf("%lld",&num);
long long cont = 2;
while(true){
if(num%cont == 0){
primos.push_back(cont);
if(num == cont)
break;
num = num/cont;
}else
cont++;
}
for(int j = 0; j < primos.size();j++){
for(int k = 0; primos.size();k++){
if(j != k){
}
}
}
}
return 0;
}