Search found 5 matches

by laberle
Fri Apr 12, 2013 7:18 pm
Forum: Volume 100 (10000-10099)
Topic: 10037 - Bridge
Replies: 84
Views: 37589

Re: 10037 - Bridge

Got it. Thanks for that last test case!
by laberle
Fri Apr 05, 2013 10:07 pm
Forum: Volume 100 (10000-10099)
Topic: 10037 - Bridge
Replies: 84
Views: 37589

Re: 10037 - Bridge

brianfry713 wrote:Input:

Code: Select all

1

1
1
AC output:

Code: Select all

1
1
Don't print a space at the end of a line.

Shouldn't that just be a presentation error? Regardless, I changed my code to not print a space at the end of a line, and I'm still getting WA.
by laberle
Wed Apr 03, 2013 7:14 pm
Forum: Volume 100 (10000-10099)
Topic: 10054 - The Necklace
Replies: 62
Views: 42192

Re: 10054 - The Necklace

I'm getting correct outputs for all the inputs specified on this forum, but I'm still getting WA. Can someone help me please?

The only place I can see being an issue is how I'm figuring out if it's connected or not, so I tried a BFS to determine that instead, but then I got TLE.

Here's my code ...
by laberle
Sat Mar 30, 2013 6:09 am
Forum: Volume 100 (10000-10099)
Topic: 10037 - Bridge
Replies: 84
Views: 37589

Re: 10037 - Bridge

Still no luck...

Here's my new code (I found a different bug, but that didn't fix the wrong answer problem).


// main.cpp : Defines the entry point for the console application.
//


#include <stdio.h>
#include <cstdlib>
#include <iostream>
#include <fstream>
#include <sstream>
#include <vector ...
by laberle
Mon Mar 25, 2013 1:25 am
Forum: Volume 100 (10000-10099)
Topic: 10037 - Bridge
Replies: 84
Views: 37589

Re: 10037 - Bridge

Hi,

I'm having problems getting a correct answer as well. I'm following the previously posted algorithm and all of my output for the 5 inputs given by blittman matches the outputs posted. And I checked cases of 1, 2, and 3 people. Can someone help me find the problem please? :)


#include <stdio.h ...

Go to advanced search