Search found 1 match

by shafin.MIST
Fri Oct 22, 2010 3:59 pm
Forum: Volume 114 (11400-11499)
Topic: 11428 - Cubes
Replies: 64
Views: 17872

Re: 11428 - Cubes

What's the prb in this code!!!!!!!!!!! its freaking me off #include<stdio.h> #include<string.h> int main() { // freopen("input.txt","r",stdin); // freopen("output.txt","w",stdout); long int i,j,y,N; int digits[10005][2]; for(i=1;i<100;i++) { for(j=1;j<i;j++) { y=i*i*i-j*j*j; if(y<=10000 && digits[y]...

Go to advanced search