
Search found 12 matches
- Sun Sep 03, 2006 12:36 pm
- Forum: Volume 110 (11000-11099)
- Topic: 11083 - Zeroes Revisited
- Replies: 13
- Views: 8199
- Sat Sep 02, 2006 11:28 pm
- Forum: Volume 110 (11000-11099)
- Topic: 11083 - Zeroes Revisited
- Replies: 13
- Views: 8199
- Sat Sep 02, 2006 11:18 pm
- Forum: Volume 110 (11000-11099)
- Topic: 11083 - Zeroes Revisited
- Replies: 13
- Views: 8199
11083 - Zeroes Revisited
is there any idea about this problem?
- Sun Aug 27, 2006 4:36 pm
- Forum: Volume 5 (500-599)
- Topic: 535 - Globetrotter
- Replies: 20
- Views: 8981
535 : Globetrotter
What's wrong with my code?
#include <stdio.h>
#include <string.h>
#include <math.h>
double pi=3.141592653589793;
double r=6378;
struct city
{
char name[32];
double x;
double y;
int l;
};
city a[102];
char p[102];
char q[102];
main()
{
int i=0,lp,lq,j,f,g,h,c;
double d;
scanf("%s",&a[i ...
#include <stdio.h>
#include <string.h>
#include <math.h>
double pi=3.141592653589793;
double r=6378;
struct city
{
char name[32];
double x;
double y;
int l;
};
city a[102];
char p[102];
char q[102];
main()
{
int i=0,lp,lq,j,f,g,h,c;
double d;
scanf("%s",&a[i ...
- Sat Aug 12, 2006 2:54 pm
- Forum: Volume 110 (11000-11099)
- Topic: 11070 - The Good Old Times
- Replies: 42
- Views: 21243
- Fri Aug 11, 2006 10:47 am
- Forum: Volume 3 (300-399)
- Topic: 343 - What Base Is This?
- Replies: 72
- Views: 28336
What's wrong with my code?
what's wrong with my code?
#include <stdio.h>
#include <string.h>
#include <math.h>
char a[50];
char a1[50];
char b[50];
char b1[50];
main()
{
int i,j,h,la,lb,f,ma,mb;
unsigned long va,vb;
while(scanf("%s%s",&a1,&b1)==2)
{
ma=mb=0;
strcpy(a,a1);
strcpy(b,b1);
f=0;
la=strlen(a)-1;
lb ...
#include <stdio.h>
#include <string.h>
#include <math.h>
char a[50];
char a1[50];
char b[50];
char b1[50];
main()
{
int i,j,h,la,lb,f,ma,mb;
unsigned long va,vb;
while(scanf("%s%s",&a1,&b1)==2)
{
ma=mb=0;
strcpy(a,a1);
strcpy(b,b1);
f=0;
la=strlen(a)-1;
lb ...
- Mon Aug 07, 2006 6:58 am
- Forum: Volume 110 (11000-11099)
- Topic: 11058 - Encoding
- Replies: 28
- Views: 20247
Thanx
thanx Dear Arsalan.I got AC.
But is there faster algorithm for this problem?
But is there faster algorithm for this problem?
- Sun Aug 06, 2006 6:03 pm
- Forum: Volume 110 (11000-11099)
- Topic: 11058 - Encoding
- Replies: 28
- Views: 20247
11058 - Encoding
can any body give i/o for this problem.I got WA 

- Mon Nov 01, 2004 9:48 am
- Forum: Volume 4 (400-499)
- Topic: 406 - Prime Cuts
- Replies: 187
- Views: 60516
- Wed Oct 13, 2004 4:34 pm
- Forum: Volume 4 (400-499)
- Topic: 406 - Prime Cuts
- Replies: 187
- Views: 60516
- Wed Oct 13, 2004 10:30 am
- Forum: Volume 4 (400-499)
- Topic: 406 - Prime Cuts
- Replies: 187
- Views: 60516
Gods of algo helppppppppp
help me WA :(
[cpp]
#include <stdio.h>
int main()
{
int a[]={1,2,3,5,7,11,13,17,19,23,29,31,37,
41,43,47,53,59,61,67,71,73,79,83,89,97,
101,103,107,109,113,127,131,137,139,149,
151,157,163,167,173,179,181,191,193,197,
199,211,223,227,229,233,239,241,251,257,
263,269,271,277,281,283,293,307 ...
[cpp]
#include <stdio.h>
int main()
{
int a[]={1,2,3,5,7,11,13,17,19,23,29,31,37,
41,43,47,53,59,61,67,71,73,79,83,89,97,
101,103,107,109,113,127,131,137,139,149,
151,157,163,167,173,179,181,191,193,197,
199,211,223,227,229,233,239,241,251,257,
263,269,271,277,281,283,293,307 ...
- Wed Oct 13, 2004 10:26 am
- Forum: Volume 4 (400-499)
- Topic: 406 - Prime Cuts
- Replies: 187
- Views: 60516
Is there any bodu here??????????
I delete it:D