Search found 27 matches: 10199

Searched query: 10199

by Brantmup
Thu Aug 22, 2019 11:14 am
Forum: General
Topic: how U can find the volume of a problem ?
Replies: 1457
Views: 272143

100 college essay topics rhodesian ridgeback

Donovan Barker from Danbury was looking for 100 college essay topics rhodesian ridgeback Kody Olson found the answer to a search query 100 college essay topics rhodesian ridgeback 100 college essay topics rhodesian ridgeback http://essayerudite.com/images/banner/500x500.jpg professional rhetorical a...
by prashantharshi
Thu Apr 02, 2015 3:43 pm
Forum: Volume 101 (10100-10199)
Topic: 10199 - Tourist Guide
Replies: 57
Views: 40476

Re: 10199 - Tourist Guide

i am stil getting WA even after considering graph as disconnected here is my code #include <iostream> #include <stdlib.h> #include <algorithm> #include <string.h> #include <sstream> #include <map> #include <vector> #define max 110 using namespace std; map<string,int> mp; vector<int> adj[max]; int di...
by ree975
Fri Feb 06, 2015 2:09 pm
Forum: Volume 101 (10100-10199)
Topic: 10199 - Tourist Guide
Replies: 57
Views: 40476

Re: 10199 - Tourist Guide

Is there anyone could help me? I passed all the test case in this discussion thread but still get WA.
I used "map" to achieve alphabetical order and cin.peek() to know whether to cout endl or not.

Code: Select all

Removed after AC, I made some mistake in implementing tarjan algo.
Thanks brianfry!
by mehrab2603
Tue Apr 01, 2014 6:45 am
Forum: Volume 101 (10100-10199)
Topic: 10199 - Tourist Guide
Replies: 57
Views: 40476

Re: 10199 - Tourist Guide

Ok I got rid of those loops, and used another array which keeps track of how many time dfs has been called from a node. If dfs has been called more than 1 time from a source node, then the node is an articulation point. Found some other errors that were causing TLE and fixed them. Now getting WA. co...
by mehrab2603
Tue Apr 01, 2014 3:22 am
Forum: Volume 101 (10100-10199)
Topic: 10199 - Tourist Guide
Replies: 57
Views: 40476

Re: 10199 - Tourist Guide

Trying to determine if the source node is an articulation point or not. If the finishing time of the first adjacent node of the source node is less than the discovery time of any of the the next adjacent nodes, it is an articulation point. Don't know how I can achieve this faster in this way, have t...
by brianfry713
Mon Mar 31, 2014 10:51 pm
Forum: Volume 101 (10100-10199)
Topic: 10199 - Tourist Guide
Replies: 57
Views: 40476

Re: 10199 - Tourist Guide

What are you trying to do on lines 75-77? Can you think of a faster way?
by mehrab2603
Sun Mar 30, 2014 6:58 pm
Forum: Volume 101 (10100-10199)
Topic: 10199 - Tourist Guide
Replies: 57
Views: 40476

Re: 10199 - Tourist Guide

I'm using DFS to find articulation points, but getting TLE. Please help! #include <bits/stdc++.h> #define MAX 101 using namespace std; map<string, int> mymap; vector<int> adj[MAX]; vector<int> apoints; int col[MAX], par[MAX], low[MAX], dis[MAX], fin[MAX], tim, n; void dfs(); void dfs_visit(int); int...
by brianfry713
Fri May 17, 2013 1:32 am
Forum: Volume 101 (10100-10199)
Topic: 10199 - Tourist Guide
Replies: 57
Views: 40476

Re: 10199 - Tourist Guide

Don't print a blank line at the start of the output.
by hami
Sat Apr 27, 2013 1:41 pm
Forum: Volume 101 (10100-10199)
Topic: 10199 - Tourist Guide
Replies: 57
Views: 40476

Re: 10199 - Tourist Guide

edit: I have changed output how you wrote, but validator still return WA import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintStream; //import java.util.Scanner; import java.util.Arrays; //City map #1: 1 camera(s) found public class Main { ...
by brianfry713
Sat Apr 27, 2013 2:53 am
Forum: Volume 101 (10100-10199)
Topic: 10199 - Tourist Guide
Replies: 57
Views: 40476

Re: 10199 - Tourist Guide

You should print a blank line between output sets. Don't print an extra blank line at the end.
by hami
Fri Apr 26, 2013 9:52 am
Forum: Volume 101 (10100-10199)
Topic: 10199 - Tourist Guide
Replies: 57
Views: 40476

Re: 10199 - Tourist Guide

Hello, I am problem with submittion of my code - WA. I have tried all of IO what has been written here and my program returned correct answer. Could anyone help me? It could be kind of confusing, because name of method, etc... is written in Czech import java.io.BufferedReader; import java.io.IOExcep...
by Mukit Chowdhury
Thu Nov 15, 2012 10:29 pm
Forum: Volume 101 (10100-10199)
Topic: 10199 - Tourist Guide
Replies: 57
Views: 40476

Re: 10199 - Tourist Guide

Got WA !!!! Would anyone please give me some sample input ???

Code: Select all

Accepted........ :)
for those who are getting WA !!!

Code: Select all

6
a
b
c
d
e
f
3
a b
c d
e f
0
output must be 0..... :)
by uirapuru
Mon Jul 09, 2012 7:52 pm
Forum: Volume 101 (10100-10199)
Topic: 10199 - Tourist Guide
Replies: 57
Views: 40476

Re: 10199 - Tourist Guide

Hi All, My code has correctly solved all the inputs posted here, but it is still getting WA. It locates all the articulation points in the graph associated to a city, which will later correspond to camera locations. First, it performs a DFS computing the "low" parameter. Then, the articula...
by helloneo
Tue Feb 01, 2011 6:16 pm
Forum: Volume 101 (10100-10199)
Topic: 10199 - Tourist Guide
Replies: 57
Views: 40476

Re: 10199 - Tourist Guide

Your code is printing an extra '\n' after the last case.. :)

Remove you code after AC

Go to advanced search