Search found 41 matches: 599

Searched query: 599

by RidgeMt
Sun Sep 01, 2019 6:43 pm
Forum: Volume 5 (500-599)
Topic: 500 - Table
Replies: 1374
Views: 242968

how to write college essay pdf reddit

... for mbabest report writing website for mbacreative essay proofreading site gb. pay for zoology annotated bibliography import essay xkcd explained 599 200 word essay page length wix. popular movie review ghostwriting website for masters. cheap critical thinking writer services for college , expository ...
by uDebug
Tue Apr 21, 2015 11:54 am
Forum: Volume 5 (500-599)
Topic: 599 - The Forrest for the Trees
Replies: 18
Views: 11025

Re: 599 - The Forrest for the Trees

Added some input to help with testing / debugging here:

http://www.udebug.com/UVa/599
by uohzxela
Fri Jan 09, 2015 5:26 am
Forum: Volume 5 (500-599)
Topic: 599 - The Forrest for the Trees
Replies: 18
Views: 11025

Re: 599 - The Forrest for the Trees

Just got AC for the problem. Turns out you don't need to implement cycle-finding for your DFS (DFS with cycle-finding will give WA). Just a simple DFS with coloring will do; a tree will contain colored nodes. Any white node in adjacency list with an empty list is an acorn. Be sure to add edge twice ...
by battirunner
Sun Aug 24, 2014 1:05 am
Forum: Volume 109 (10900-10999)
Topic: 10948 - The primary problem
Replies: 27
Views: 26203

Re: 10948 - The primary problem

... 599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769}; int prime[1000005]; void primecheck() ...
by apcastelein
Tue Jul 29, 2014 7:03 pm
Forum: Volume 5 (500-599)
Topic: 599 - The Forrest for the Trees
Replies: 18
Views: 11025

Re: 599-The forest for the trees

Thank you very much. I got it accepted now.
by lbv
Mon Jul 28, 2014 9:58 pm
Forum: Volume 5 (500-599)
Topic: 599 - The Forrest for the Trees
Replies: 18
Views: 11025

Re: 599-The forest for the trees

I'm having an issue with my code. It works for the sample input but I get RE when submitting Try configuring your compiler to show you all possible warnings, as that may help you catch subtle bugs. For example, when I compiled your code, I received: p.cpp: In function ‘int main()’: p.cpp:64:17: war...
by apcastelein
Mon Jul 28, 2014 3:59 pm
Forum: Volume 5 (500-599)
Topic: 599 - The Forrest for the Trees
Replies: 18
Views: 11025

Re: 599-The forest for the trees

I'm having an issue with my code. It works for the sample input but I get RE when submitting #include <stdio.h> #include <map> #include <vector> using namespace std; typedef vector<int> vi; class UnionFind{ private: vi p,rank; int singles, sets; public: UnionFind(int N){ singles=sets=N; rank.assign(...
by vsha041
Thu Apr 03, 2014 12:10 pm
Forum: Volume 5 (500-599)
Topic: 599 - The Forrest for the Trees
Replies: 18
Views: 11025

Re: 599-The forest for the trees

brianfry713 wrote:acorn not acron
That was nice ! Attention to detail ! Sometimes I use windiff to compare sample output with my output just to catch these kind of "eye tricking" errors.
by brianfry713
Mon Mar 31, 2014 10:43 pm
Forum: Volume 5 (500-599)
Topic: 599 - The Forrest for the Trees
Replies: 18
Views: 11025

Re: 599-The forest for the trees

acorn not acron
by piyukr
Sat Mar 29, 2014 2:15 pm
Forum: Volume 5 (500-599)
Topic: 599 - The Forrest for the Trees
Replies: 18
Views: 11025

599-The forest for the trees

here is the problem statement: http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem&problem=540 Can I solve it in this manner? First count the no. of vertices and edges in the graph. Then using a bitset of size 26 , mark the vertices whic...
by dibery
Sun Feb 16, 2014 7:55 pm
Forum: Volume 6 (600-699)
Topic: 672 - Gangsters
Replies: 0
Views: 37632

672 - Gangsters

... 8 5 4 6 54 14089 13910 12519 3075 10797 11047 10407 122 217 145 3 64 158 11 15 38 26 48 26 3 78 16650 9321 9849 14457 24 259 53 76 30 30 3 14 1167 599 980 644 113 106 283 3 10 14 8 65 3280 893 1582 395 505 2993 3047 1067 2429 154 254 215 163 296 132 97 235 40 52 12 42 44 15 21 21 8 50 20123 7176 ...
by brianfry713
Thu Mar 28, 2013 12:48 am
Forum: Bugs and suggestions
Topic: 599 Problem description
Replies: 4
Views: 5204

Re: 599 Problem description

Use union find.
by mahade hasan
Wed Mar 27, 2013 7:12 pm
Forum: Bugs and suggestions
Topic: 599 Problem description
Replies: 4
Views: 5204

Re: 599 Problem description

getting TLE ans .... help me plz...... #include<iostream> #include<stdio.h> #include<queue> #include<string.h> #include<vector> using namespace std; int main() { int I,K,L,M,N,Tcase,Tree,Acron; char Input[100],A,B; scanf("%d",&Tcase); while(Tcase--){ Tree=0;Acron=0; vector<char>V[10000...
by AYAN
Tue Sep 20, 2011 8:19 pm
Forum: Bugs and suggestions
Topic: 599 Problem description
Replies: 4
Views: 5204

Re: 599 Problem description

Why getting WA with this code ? Can anyone give some sampe input ouput.. #include<stdio.h> #include<string.h> int bfs(int); int vis[200]; struct{ int a[100],size; }node[100]; int main() { char p,q,s[1000],ch; int t,loc[2000],l,i,acorn,tree,no,m,n; scanf("%d",&t); getchar(); while(t--) ...
by Shafaet_du
Thu Sep 01, 2011 12:43 am
Forum: Bugs and suggestions
Topic: 599 Problem description
Replies: 4
Views: 5204

Re: 599 Problem description

I just read the html and got ac.

Go to advanced search