Search found 36 matches

by dwyak
Tue Sep 03, 2002 9:06 am
Forum: Volume 103 (10300-10399)
Topic: 10345 - Cricket/Football Goes Down
Replies: 12
Views: 4896

I used a bseach to solve the equation as Ivan Golubev said
by dwyak
Mon Sep 02, 2002 7:24 pm
Forum: Volume 102 (10200-10299)
Topic: 10278 - Fire Station
Replies: 59
Views: 21346

I found no trick. I just use a simple Floyd.
Are you sure there's nothing wrong with your program.
by dwyak
Mon Sep 02, 2002 7:10 pm
Forum: Volume 103 (10300-10399)
Topic: 10352 - Count the eWords
Replies: 30
Views: 12092

I still cannot understand what does this sentence mean.
However, the sorting should be according to the first 'ignored' letter

If there's a case,
abcde abddef aabaab aaaaaa #

What should I output?

thx...
by dwyak
Mon Sep 02, 2002 6:47 pm
Forum: Volume 103 (10300-10399)
Topic: 10345 - Cricket/Football Goes Down
Replies: 12
Views: 4896

I did not work on the formula. I just used a bsearch to calculate r6. It's enough to get AC, and takes less work.
by dwyak
Sat Aug 31, 2002 6:26 am
Forum: Volume 103 (10300-10399)
Topic: 10352 - Count the eWords
Replies: 30
Views: 12092

Is there a special case which has more than 4100 distinct words?
I've tested. I found it exists. But I'm not sure I tested correctly.
by dwyak
Sun Jul 28, 2002 5:20 am
Forum: Volume 102 (10200-10299)
Topic: 10246 - Asterix and Obelix
Replies: 29
Views: 9744

10246, why i got PE

[cpp][/cpp] /* @judge_id: XXXXXX 10246 C++ " :( " */ #include <fstream.h> #include <string.h> //ifstream fin("10246.txt"); #define fin cin #define endl '\n' const int MAX = 100; int f[MAX], g[MAX][MAX], v[MAX][MAX], p[MAX]; main() { int cases = 0, c, r, q; for (fin >> c >> r >> q; c || r || q; fin >...

Go to advanced search