#include <stdio.h> //printf()
#include <conio.h>
int sprawdz(unsigned long long int n, unsigned long long int i){
unsigned long long int pom=0;
for(i;i<n;++i){
pom=n%i;
if(n%i==0)
printf("%d\n",n);
}
}
int main(){
sprawdz(600851475143,1);
return 0;
}
My problem is: I don't know how to send big value into another function. Please help for few helpful hints.And the codeblock says: integer constant is too large for "long" type.
How should I understand it?
Edited by mokszyk, 17 June 2009 - 11:14 AM.
too many mistakes and etcetera :)


Sign In
Create Account


Back to top









