Search found 4 matches

by sozu
Thu Oct 21, 2004 5:03 am
Forum: Volume 107 (10700-10799)
Topic: 10740 - Not the Best
Replies: 23
Views: 13138

^^

TLE...Test Case
4 4
1 4 10
1 2 1
2 3 1
3 1 1
1 4 10000
BFS with Priority Queue can fall in local loop.
by sozu
Tue Oct 19, 2004 10:23 am
Forum: Volume 107 (10700-10799)
Topic: 10740 - Not the Best
Replies: 23
Views: 13138

^^

I got WA, too.

My solution is BFS with Priority Queue. Is Right? :(
by sozu
Fri Oct 01, 2004 2:32 am
Forum: Volume 107 (10700-10799)
Topic: 10728 - Help!
Replies: 9
Views: 3572

^^

Eduard wrote:Hello sozu.
Input

Code: Select all

<a> <b> 
<a> <a> 
Output

Code: Select all

1) abc abc 
2) acc acc
3) aaa aaa
4) ppp ppp
5) g g
...
...
...
2 same words.
Each word containing only lower case letters. :wink:
Thank you.

I got a ACed. :P
by sozu
Wed Sep 29, 2004 3:25 pm
Forum: Volume 107 (10700-10799)
Topic: 10728 - Help!
Replies: 9
Views: 3572

Hm..

Input
<a> <b>
<a> <a>

Ouput
1) abc abc
2) -
What is a right?

Go to advanced search