Search found 1 match

by raj_bd
Wed Feb 11, 2009 10:11 pm
Forum: Volume 113 (11300-11399)
Topic: 11385 - Da Vinci Code
Replies: 70
Views: 23696

Re:help me i m getting WA 11385 - Da Vinci Code

here is my code.i hv tried all input..bt still getting WA. #include<stdio.h> #include<string.h> int main() { long long a,b,c,i,d=0; a=0; b=1; long long flist[60]; for(i=0;;i++){ c=a+b; //printf("c=%d\n",c); flist[d]=c; if(d==50) { break; } d++; b=a; a=c; } long long t1; scanf("%lld",&t1); for(i=0;i<...

Go to advanced search