Search found 5 matches

by ruhul_sust
Fri Nov 12, 2010 9:32 pm
Forum: Volume 114 (11400-11499)
Topic: 11461 - Square Numbers
Replies: 15
Views: 6952

Re: 11461 - Square Number Why WA ????

// please find the Error !!!!!!!!!! #include<stdio.h> #include<stdlib.h> #include<math.h> int main() { long long int a, b, temp; long long int i, m=0; while(scanf("%lld%lld", &a, &b)==2) { if(a==0 && b==0) break; if(a>b) { temp = a; a = b; b = temp; } for(i=a; i<=b; i++) { if(sqrt(i) == i/sqrt(i)) {...
by ruhul_sust
Wed Oct 27, 2010 10:26 pm
Forum: Volume 115 (11500-11599)
Topic: 11530 - SMS Typing
Replies: 41
Views: 8581

Re: 11530 - sms typing -- Why WA???? :(

thanks I got my Error and i fix it now && got AC....... :D :) :lol:
by ruhul_sust
Wed Oct 27, 2010 7:54 pm
Forum: Volume 115 (11500-11599)
Topic: 11530 - SMS Typing
Replies: 41
Views: 8581

Re: 11530 - sms typing -- Why WA???? :(

i can't understand what u say.
gets() does not do any work means ?????

I try scanf rather using gets() but still WA!!!!
:(((((
hELp ME ... :'( :( :( :( :(
by ruhul_sust
Fri Oct 22, 2010 2:50 pm
Forum: Volume 115 (11500-11599)
Topic: 11530 - SMS Typing
Replies: 41
Views: 8581

Re: 11530 - sms typing -- Why WA???? :(

I m new in uva forum.Next time i'll follow ur advise. Thanks 4 ur advise.

But I m still in problem with this easy problem.I could not find any solution in any previous post .
I m frustrated :0
please help me.
by ruhul_sust
Wed Oct 20, 2010 10:09 am
Forum: Volume 115 (11500-11599)
Topic: 11530 - SMS Typing
Replies: 41
Views: 8581

11530 - sms typing -- Why WA???? :(

//help me to find d ERROR #include<stdio.h> #include<string.h> void count(char a[], int x) { //scanf("%[ ^\n]", a); gets(a); // // printf("Case #%d: ", x); int i,length, n, sum=0; length=strlen(a); for(i=0; i<length; i++) { if(a =='a' || a =='d' || a =='g' || a =='j' || a =='m' || a =='p' || a =='t'...

Go to advanced search