mirror of
https://github.com/Kiritow/OJ-Problems-Source.git
synced 2024-03-22 13:11:29 +08:00
14 lines
173 B
C
14 lines
173 B
C
#include<stdio.h>
|
|
|
|
int main(int argc,char** argv){
|
|
int i,j;
|
|
scanf("%d",&i);
|
|
for(j = 2; j < i/2; j++ ){
|
|
if(i%j == 0){
|
|
printf("%d",i/j);
|
|
break;
|
|
}
|
|
}
|
|
return 0;
|
|
}
|