Miscellany
public text v1 · immutable#include <stdio.h>
#include <stdlib.h>
int main(void){
long long int input = 317584931803LL;
int c = 1; int fino = 0; int g = 1;
int d = 0;
while(c != input){
g = 0;
while(g != 10){
if((c % g) == 0 && g != c && g != 1){
d = 1; ++g;
}
}
if((input % c) == 0 && d == 1){
fino = c;
}
++c;
}
printf("%d", fino);
system("PAUSE");
return 0;
}