Search found 14 matches

by Soarer
Sun Mar 26, 2006 1:09 pm
Forum: Volume 110 (11000-11099)
Topic: 11005 - Cheapest Base
Replies: 7
Views: 4790

Thanks!
by Soarer
Sun Mar 26, 2006 10:40 am
Forum: Volume 110 (11000-11099)
Topic: 11005 - Cheapest Base
Replies: 7
Views: 4790

11005 - Cheapest Base

I tried four times and I still get a presentation error... please help!

Code: Select all

CODE REMOVED
by Soarer
Sat Nov 19, 2005 4:46 pm
Forum: Volume 108 (10800-10899)
Topic: 10887 - Concatenation of Languages
Replies: 49
Views: 18660

By the way, I need some i/o as well.. thanks.
by Soarer
Sat Nov 19, 2005 3:55 pm
Forum: Volume 108 (10800-10899)
Topic: 10887 - Concatenation of Languages
Replies: 49
Views: 18660

Re: 10887 - Don't understand

[_TANG_] wrote:Hi,

Can anyone tell me why does the input:

Code: Select all

1
3 3
a

b
a

b
outputs:

Code: Select all

Case 1: 7
Think that's why I can't get AC ... :cry: ... My code output is 6
why is this a valid input?

You can assume that the strings are formed by lower case letters (
by Soarer
Sat Nov 19, 2005 11:31 am
Forum: Volume 109 (10900-10999)
Topic: 10959 - The Party, Part I
Replies: 37
Views: 18281

ayon wrote:did i write bf? i think it's bfs(breadth first search), not bf(boyfriend).
I am new to C++ so i don't know bfs as well, can you kindly tell me what it is? thanks.
by Soarer
Sat Nov 19, 2005 11:05 am
Forum: Volume 108 (10800-10899)
Topic: 10813 - Traditional BINGO
Replies: 28
Views: 9731

can anyone give me some more io? thanks.
by Soarer
Sat Nov 19, 2005 9:31 am
Forum: Volume 109 (10900-10999)
Topic: 10958 - How Many Solutions?
Replies: 17
Views: 5711

I passed the above IO but i get WA. Can anyone give some more critical io? Thanks.
by Soarer
Sat Nov 19, 2005 9:14 am
Forum: Volume 109 (10900-10999)
Topic: 10959 - The Party, Part I
Replies: 37
Views: 18281

ayon wrote:believe it or not, this problem is nothing but bfs; better use bfs, that will make your life easier...
What is bf?
by Soarer
Fri Nov 18, 2005 6:31 am
Forum: Volume 109 (10900-10999)
Topic: 10962 - Don Giovanni's Last Dinner
Replies: 15
Views: 5803

Thanks! I am new to C++ so I don't know how much ram array consumes. Now got AC :D (although nearly 7 times slower than mamun :o )
by Soarer
Thu Nov 17, 2005 6:43 pm
Forum: Volume 109 (10900-10999)
Topic: 10962 - Don Giovanni's Last Dinner
Replies: 15
Views: 5803

I'm getting runtime error, but it works well in dev c++.. please help. #include<iostream> using namespace std; int main(){ int num_of_cases, loop_1 = 1; cin >> num_of_cases; while(loop_1 <= num_of_cases){ int d_rate, l_rate, num_of_dish, num_of_call, loop_2 = 1, loop_3 = 1; cin >> d_rate >> l_rate >...
by Soarer
Mon Nov 14, 2005 8:18 pm
Forum: Volume 109 (10900-10999)
Topic: 10959 - The Party, Part I
Replies: 37
Views: 18281

Can anyone check it for me? Thanks. #include<iostream> #include<math.h> using namespace std; int main(){ int num_of_cases, loop = 1; cin >> num_of_cases; while(loop <= num_of_cases){ int num_of_people; long num_of_dance, loop_2 = 1; cin >> num_of_people >> num_of_dance; int danced[num_of_people][num...
by Soarer
Sun Nov 13, 2005 8:37 pm
Forum: Volume 109 (10900-10999)
Topic: 10959 - The Party, Part I
Replies: 37
Views: 18281

Hi, I got WA too, can anyone give some more complicated inputs? Thanks.
by Soarer
Wed Nov 09, 2005 9:20 pm
Forum: Volume 109 (10900-10999)
Topic: 10903 - Rock-Paper-Scissors Tournament
Replies: 27
Views: 11263

Thanks! I've fixed the problem. :D
by Soarer
Wed Nov 09, 2005 8:19 pm
Forum: Volume 109 (10900-10999)
Topic: 10903 - Rock-Paper-Scissors Tournament
Replies: 27
Views: 11263

I received a presentation error, but I don't know why. Can anyone help? #include <iostream> #include <string> #include <iomanip> using namespace std; int main(){ int num_of_players = 1, games_per_player, num_of_games; while(true){ cin >> num_of_players; if(num_of_players == 0) break; cin >> games_pe...

Go to advanced search