Search found 25 matches

by Iffat
Mon Dec 04, 2006 12:05 pm
Forum: Volume 9 (900-999)
Topic: 913 - Joana and the Odd Numbers
Replies: 32
Views: 13668

913...TLE!!!!

can anyone expain why i am getting TLE for this code

Code: Select all

CUT
plzzzzzzzzzz help me!!!
thanx
by Iffat
Tue Aug 29, 2006 2:21 pm
Forum: Volume 103 (10300-10399)
Topic: 10394 - Twin Primes
Replies: 101
Views: 31871

thnx my friend :) :) :)
i gor AC
by Iffat
Mon Aug 28, 2006 7:50 pm
Forum: Volume 103 (10300-10399)
Topic: 10394 - Twin Primes
Replies: 101
Views: 31871

10394...memory limit Exceed

i got memory limit Exceed....

Code: Select all

CUT
plzz help me :(
thanx
by Iffat
Fri Aug 25, 2006 9:32 am
Forum: Volume 4 (400-499)
Topic: 445 - Marvelous Mazes
Replies: 93
Views: 10056

445...WA

A maze will consist of the alphabetic characters A-Z, * (asterisk), and spaces. i think i don't understand the problem clearly...is the input should have only upper case letters , * , ! and b?? i have read the previous posts abt this problem.but i can't find my mistakes... :roll: :roll: :oops: but ...
by Iffat
Wed Aug 23, 2006 4:46 pm
Forum: Volume 4 (400-499)
Topic: 483 - Word Scramble
Replies: 122
Views: 19360

483...why presentation error?

:oops: i can't understant why i got presentation error.... c#include<stdio.h> #include<string.h> #include<ctype.h> #define MAX 50000 int main() { long i,j,l,n; char ch,str[MAX],str1[MAX]; while(scanf("%s",&str)!=EOF) { l=strlen(str); for(i=0,j=l-1;i<l,j>=0;i++,j--) { str1[i]=str[j]; } printf("%s",st...
by Iffat
Mon Aug 21, 2006 3:52 pm
Forum: Volume 104 (10400-10499)
Topic: 10424 - Love Calculator
Replies: 137
Views: 38629

10424..TLE!!

#include<stdio.h> #include<string.h> #include<stdlib.h> #include<ctype.h> int findnum(char str[]) { long i,j,l; int s; l=strlen(str); i=0;s=0; while(i<l) { if(str[i] > 96 && str[i] <123) { j = str[i]-96; s = s + j ; i++; } else if(str[i] > 64 && str[i] < 91) { j= str[i] -64 ; s = s + j; i++; } else...
by Iffat
Tue Aug 15, 2006 5:10 pm
Forum: Volume 3 (300-399)
Topic: 371 - Ackermann Functions
Replies: 196
Views: 28047

thanx a lot.... :) :) :) :) :) i get AC :) :) :)
by Iffat
Tue Aug 15, 2006 8:04 am
Forum: Volume 106 (10600-10699)
Topic: 10699 - Count the factors
Replies: 27
Views: 11268

10699

i got run time error and following msg: Your program has died with signal 8 (SIGFPE). Meaning: Floating point exception :( :( :( :( #include<stdio.h> #define MAX 1000050 int main() { long long n,N,i,count,arr[MAX]; long long t,s=0,k,j,q; for(i=2;i*i<=1000000;i++) { t=1; if(i==2){t=1;} if((i%2)==0&&(...
by Iffat
Sat Jul 22, 2006 10:06 am
Forum: Volume 3 (300-399)
Topic: 371 - Ackermann Functions
Replies: 196
Views: 28047

371..why WA?...

:( :( :( I got WA for following code...plzzz help me to find the error #include<stdio.h> int main() { unsigned long i,j,n,t,p,temp,count,max,n1; while(scanf("%lu %lu",&i,&j)==2) { max=0; p=0; if(i==0 && j==0){break;} if(i>j) { temp=i; i=j; j=temp; printf("Between %lu and %lu, ",j,i); } else { printf...
by Iffat
Sat Jul 22, 2006 10:01 am
Forum: Volume 3 (300-399)
Topic: 371 - Ackermann Functions
Replies: 196
Views: 28047

371..whyWA..

:( :( :( I got WA for following code...plzzz help me to find the error #include<stdio.h> int main() { unsigned long i,j,n,t,p,temp,count,max,n1; while(scanf("%lu %lu",&i,&j)==2) { max=0; p=0; if(i==0 && j==0){break;} if(i>j) { temp=i; i=j; j=temp; printf("Between %lu and %lu, ",j,i); } else { printf...

Go to advanced search