Search found 4 matches

by PG
Thu Apr 17, 2008 7:01 am
Forum: Volume 110 (11000-11099)
Topic: 11099 - Next Same-Factored
Replies: 24
Views: 13160

Re: 11099 - Next Same-Factored

I solved this problem just now,
and want to share some information to those who is trobled with this question.

First,you may not need to stored those num you count before.
When I stored, I got AC by 1.1 sec.
When I didn't, I got AC by 1.3 sec.

You can just try using those factors to build the ans ...
by PG
Fri Jul 27, 2007 2:02 pm
Forum: Volume 112 (11200-11299)
Topic: 11223 - O: dah dah dah!
Replies: 43
Views: 25721

There were a mistake in my input.
(Because I typed -....--.-.-- however it should be -....- -.-.--)
And I've fix it, still getting WA..
by PG
Thu Jul 26, 2007 6:23 am
Forum: Volume 112 (11200-11299)
Topic: 11223 - O: dah dah dah!
Replies: 43
Views: 25721

I have tried all test case that everyone offered and passed all of them.

But I still got WA.

And I also tried this

3 ...
by PG
Mon Nov 21, 2005 6:43 am
Forum: Volume 7 (700-799)
Topic: 793 - Network Connections
Replies: 102
Views: 47673

793 - TLE (C++)

Is there a better way to solve this question?

Thanks for your advise .
#include<iostream>
using namespace std;
///////////////////////////////////////////////////////////////////////////////
typedef struct _set
{
int v,t;
}PG;
PG s[1001];
void makeset(PG* s,int smax)
{
for(int i=1;i<=smax;i ...

Go to advanced search