Search found 11 matches

by jporcelli1120
Sun Jun 28, 2015 8:58 am
Forum: Volume 14 (1400-1499)
Topic: 1416 - Warfare And Logistics
Replies: 0
Views: 3008

Re: 1416 - Warfare And Logistics

does remove a single path mean an edge, or a "path"=shortest path between two nodes?
by jporcelli1120
Fri Mar 06, 2015 4:39 am
Forum: Volume 9 (900-999)
Topic: 908 - Re-connecting Computer Sites
Replies: 21
Views: 8472

Re: 908 - Re-connecting Computer Sites

Any one help out alittle why WA? Thanks guys #include <bits/stdc++.h> #define _ ios_base::sync_with_stdio(0);cin.tie(0); using namespace std; #define PI acos(-1) #define sqr(x) ((x) * (x)) #define PB push_back #define MP make_pair #define F first #define S second #define ALL(c) (c).begin(), (c).end(...
by jporcelli1120
Thu Feb 26, 2015 10:45 pm
Forum: Volume 5 (500-599)
Topic: 590 - Always on the run
Replies: 12
Views: 6676

Re: 590 - Always on the run

Any one help with small push in right direction, im getting WA

Code: Select all

AC
by jporcelli1120
Fri Feb 20, 2015 10:57 pm
Forum: Volume 1 (100-199)
Topic: 193 - Graph Coloring
Replies: 93
Views: 21074

Re: 193 - Graph Coloring

The legendary brianfry of UVa strikes again ;) thanks man
by jporcelli1120
Fri Feb 20, 2015 4:03 am
Forum: Volume 1 (100-199)
Topic: 193 - Graph Coloring
Replies: 93
Views: 21074

Re: 193 - Graph Coloring

pruning tips anybody, please?? :)
by jporcelli1120
Fri Feb 20, 2015 2:10 am
Forum: Volume 1 (100-199)
Topic: 193 - Graph Coloring
Replies: 93
Views: 21074

Re: 193 - Graph Coloring

This is my new complete search method but now I am getting TLE even though I thought my pruning would be sufficient #include <bits/stdc++.h> #define _ ios_base::sync_with_stdio(0);cin.tie(0); using namespace std; #define PI acos(-1) #define sqr(x) ((x) * (x)) #define PB push_back #define MP make_pai...
by jporcelli1120
Thu Feb 19, 2015 10:22 pm
Forum: Volume 1 (100-199)
Topic: 193 - Graph Coloring
Replies: 93
Views: 21074

Re: 193 - Graph Coloring

backtrack = complete search, thats what I am doing already. I have correct answer for every input i have found so far.

UPDATE- I think i see the problem, the method of generating all subsets doesnt work for n > 64
by jporcelli1120
Thu Feb 19, 2015 7:33 pm
Forum: Volume 1 (100-199)
Topic: 193 - Graph Coloring
Replies: 93
Views: 21074

Re: 193 - Graph Coloring

Anybody can help me with counter example, or insight as to why WA? I dont want the answer, just direction. Thanks guys. #include <bits/stdc++.h> #define _ ios_base::sync_with_stdio(0);cin.tie(0); using namespace std; #define PI acos(-1) #define sqr(x) ((x) * (x)) #define PB push_back #define MP make...
by jporcelli1120
Thu Feb 12, 2015 12:38 am
Forum: Volume 9 (900-999)
Topic: 957 - Popes
Replies: 15
Views: 7064

Re: 957 - Popes

Can anybody help me out, point me to a test case (counter example) for my algorithm, or any ideas. Thanks guys, heres my current code, UPDATE-I literally have no idea why im getting WA now as I am pretty sure about my solution. Any help would be so good AC UPDATE-Beware of possible \n at the end of ...
by jporcelli1120
Fri Feb 06, 2015 3:19 am
Forum: Volume 7 (700-799)
Topic: 793 - Network Connections
Replies: 102
Views: 30892

Re: 793 - Network Connections

Can somebody tell me whats the deal with this problem? The currently described problems input format doesn't say anything about multiple test cases yet I get WA, so I feel like it really is for multiple test cases. But then Even when I add handling for multiple test cases I still get WA. Is my input...
by jporcelli1120
Mon Jan 26, 2015 2:16 pm
Forum: Bugs and suggestions
Topic: Missing User Statistics ... !!
Replies: 8
Views: 5947

Re: Missing User Statistics ... !!

I just spent a lot of time solving the "Edit Step Ladders", #10029 problem and got the AC. It shows as green in the problems browser, and in my submissions shows AC, but not in my general statistics, the problem is not visible in my solved problems. Is it because of the time? Due to maintenance or s...

Go to advanced search