All pastes #797305 Raw Edit

Someone

public text v1 · immutable
#797305 ·published 2007-11-25 22:05 UTC
rendered paste body
#include <stdio.h>
#include <stdlib.h>

int main(void){
               long long int input = 317584931803LL;
               int c = 1; int fino = 0; int g = 0;
               int d = 0;
               while(c != input){
                       g = 0;
                       while(g != 10){
                               if((c % g) == 0 && g != c && g != 1){
                                     d = 1;
                               }              
                       }
                       if((input % c) == 0 && d == 1){
                                 fino = c;
                       }
               }
               printf("%d", fino);
               system("PAUSE");
               return 0;
}