Search found 3 matches

by usuario
Thu Nov 13, 2008 11:21 am
Forum: Volume 107 (10700-10799)
Topic: 10789 - Prime Frequency
Replies: 38
Views: 27593

Re: 10789 - Prime Frequency

Hi, I got AC, your input is right.
sreejond wrote: Input:
ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd
my output:
d
but in board it is actually
a
plz help me.
I m very much confused.

sreejon
cuet'06
by usuario
Tue Nov 11, 2008 11:27 am
Forum: Volume 107 (10700-10799)
Topic: 10714 - Ants
Replies: 20
Views: 16713

Re: 10714 - Ants

I do a little correction, but i still go an WA in the UVa plz help: my code


#include<iostream.h>
#include<stdlib.h>

using namespace std;

int ordena( const void *a, const void *b)
{
return( strcmp((char *)a,(char *)b) );
}


int main()
{
freopen("in1.txt","r",stdin);
freopen("out.txt","w",stdout ...
by usuario
Tue Nov 11, 2008 10:54 am
Forum: Volume 107 (10700-10799)
Topic: 10714 - Ants
Replies: 20
Views: 16713

Help plz!

I got WA in the UVA, this is my code help me plz

#include<iostream.h>
#include<stdlib.h>

using namespace std;

int ordena( const void *a, const void *b)
{
return( strcmp((char *)a,(char *)b) );
}


int main()
{
freopen("in1.txt","r",stdin);
freopen("out.txt","w",stdout);

int casos;
int mitad ...

Go to advanced search