Search found 6 matches

by serendipity
Tue Sep 12, 2006 10:55 pm
Forum: Volume 108 (10800-10899)
Topic: 10892 - LCM Cardinality
Replies: 25
Views: 13067

hey my code shows WA for perfect square number:( can someone tell me how to handle this problem?

wot is the prime algorithm for this cardinality problem?

--regards :-?
by serendipity
Mon Sep 11, 2006 3:58 pm
Forum: Volume 102 (10200-10299)
Topic: 10221 - Satellites
Replies: 34
Views: 20267

10221 Still WA!!!!!!!!!!!Plz help!

can someone tell why am i getting WA? :(
I have checked all the test cases provided by the Electronic board. I cannot uderstand also wot wud b the calculation for a=180;


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

#define MAX 5
//#define pi 3.14159265358979323846
#define R 6440



int ...
by serendipity
Fri Sep 01, 2006 7:11 am
Forum: Volume 110 (11000-11099)
Topic: 11063 - B2-Sequence
Replies: 73
Views: 51285

hey Daveon Thanx a lot. I get AC @last:D
by serendipity
Thu Aug 31, 2006 8:52 pm
Forum: Volume 110 (11000-11099)
Topic: 11063 - B2-Sequence
Replies: 73
Views: 51285

11063 - B2-Sequence

can anyone tell me wot is the problem wid my code for b2-sequence? Im still getting WA:(

///removed

:-?
by serendipity
Mon Jul 03, 2006 3:59 pm
Forum: Volume 2 (200-299)
Topic: 271 - Simply Syntax
Replies: 46
Views: 19796

271-CE!!!!!!!!!

can someone tell me why my code shows the CE?

#include<stdio.h>
#include<conio.h>

int find_min(int p,int q)
{
if(p>q)
return q;
else
return p;


}

int main(void)
{
long cs;
int m, n;
char chpcs;

scanf("%ld", &cs);

while(cs)
{
chpcs=getch();
scanf("%d %d",&m,&n);

if(chpcs=='r ...
by serendipity
Sat Jul 01, 2006 1:37 pm
Forum: Volume 2 (200-299)
Topic: 278 - Chess
Replies: 22
Views: 6804

278-CE

#include<stdio.h>
#include<conio.h>

int find_min(int p,int q)
{
if(p>q)
return q;
else
return p;


}

int main(void)
{
long cs;
int m, n;
char chpcs;

scanf("%ld", &cs);

while(cs)
{
chpcs=getch();
scanf("%d %d",&m,&n);

if(chpcs=='r'||chpcs=='Q')
printf("%d\n", find_min(m,n ...

Go to advanced search