Search found 5 matches

by wiktor
Wed Oct 13, 2004 8:17 am
Forum: Volume 107 (10700-10799)
Topic: 10733 - The Colored Cubes
Replies: 14
Views: 5520

google -> Polya theorem :D
by wiktor
Wed Oct 06, 2004 9:06 pm
Forum: Volume 107 (10700-10799)
Topic: 10733 - The Colored Cubes
Replies: 14
Views: 5520

BigNumbers are not necessry for this problem. The solution for n=1000 fits in long long.
by wiktor
Sun Sep 26, 2004 1:12 pm
Forum: Volume 107 (10700-10799)
Topic: 10728 - Help!
Replies: 9
Views: 4675

Re: Waterloo Fall (10728 & 10730 ?)


Well I mean prob B and D.
http://acm.uva.es/contest/data/next/problemset/
B:
"Given two patterns, you are to find a phrase that matches both."
So how come for the input:
<a> b
c <a>

Output is
c b

Because the upper <a> is a different <a> than the lower <a> :wink: . You have to divide "tags ...
by wiktor
Sun Sep 26, 2004 12:21 am
Forum: Volume 107 (10700-10799)
Topic: 10701 - Pre, in and post
Replies: 13
Views: 8158

Re: 10701 WA- Help me with some critical I/O

Maybe this will help:
1
8 ABCHDEFG HCBDAFEG
Output: HCDBFGEA
by wiktor
Sun Sep 26, 2004 12:16 am
Forum: Volume 107 (10700-10799)
Topic: 10706 - Number Sequence
Replies: 34
Views: 20160

Two (at least) errors:
* no new line "\n" after each test case
* you print a decimal number instead of digt

chceck this

1
55

your output : 10
my output : 1

Go to advanced search