Search found 4 matches

by sharmin_bd
Wed Sep 21, 2005 5:54 am
Forum: Volume 4 (400-499)
Topic: 483 - Word Scramble
Replies: 122
Views: 38848

483...Why WA?Plzzz Help

Though it is the easy one..but i'm getting WA.. :cry: Could anyone plz help me by giving some difficult test case.Plzz help..Thanks in advance
by sharmin_bd
Thu Sep 01, 2005 7:52 pm
Forum: Volume 4 (400-499)
Topic: 483 - Word Scramble
Replies: 122
Views: 38848

Why WA 483???Plz HELP!

Why this is getting WA??I cant find the bugs :cry:

#include<stdio.h>
#include<string.h>

void reverse(char *s){
int i,j,c;
for(i = 0,j = strlen(s)-1;i<j;i++,j--){
c = s[i];
s[i] = s[j];
s[j] = c;
}
}

void main(){
int c,i = 0,flag = 0;
char arr[500];
while((c = getchar())!=EOF){
if(c ...
by sharmin_bd
Wed Aug 31, 2005 7:47 pm
Forum: Volume 100 (10000-10099)
Topic: 10035 - Primary Arithmetic
Replies: 328
Views: 101808

Thnx...I got AC
by sharmin_bd
Tue Aug 30, 2005 6:47 pm
Forum: Volume 100 (10000-10099)
Topic: 10035 - Primary Arithmetic
Replies: 328
Views: 101808

10035WA..Please Help!!!

Why this is getting wrong answer????
[/code]
#include<stdio.h>
#include<stdlib.h>

int bitcount(unsigned long n){
int count = 1;
while((n/=2)!=0){
count++;
}
return count;
}

void main(){
unsigned long x,y,temp;
int *in1,*in2;
int len1,len2,len,i,carry,count;
while(scanf("%u %u",&x,&y ...

Go to advanced search