Search found 11 matches
- Sun Jun 28, 2015 8:58 am
- Forum: Volume 14 (1400-1499)
- Topic: 1416 - Warfare And Logistics
- Replies: 0
- Views: 3196
Re: 1416 - Warfare And Logistics
does remove a single path mean an edge, or a "path"=shortest path between two nodes?
- Fri Mar 06, 2015 4:39 am
- Forum: Volume 9 (900-999)
- Topic: 908 - Re-connecting Computer Sites
- Replies: 21
- Views: 9274
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(...
- Thu Feb 26, 2015 10:45 pm
- Forum: Volume 5 (500-599)
- Topic: 590 - Always on the run
- Replies: 12
- Views: 7161
Re: 590 - Always on the run
Any one help with small push in right direction, im getting WA
Code: Select all
AC
- Fri Feb 20, 2015 10:57 pm
- Forum: Volume 1 (100-199)
- Topic: 193 - Graph Coloring
- Replies: 93
- Views: 24031
Re: 193 - Graph Coloring
The legendary brianfry of UVa strikes again
thanks man

- Fri Feb 20, 2015 4:03 am
- Forum: Volume 1 (100-199)
- Topic: 193 - Graph Coloring
- Replies: 93
- Views: 24031
Re: 193 - Graph Coloring
pruning tips anybody, please?? 

- Fri Feb 20, 2015 2:10 am
- Forum: Volume 1 (100-199)
- Topic: 193 - Graph Coloring
- Replies: 93
- Views: 24031
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...
- Thu Feb 19, 2015 10:22 pm
- Forum: Volume 1 (100-199)
- Topic: 193 - Graph Coloring
- Replies: 93
- Views: 24031
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
UPDATE- I think i see the problem, the method of generating all subsets doesnt work for n > 64
- Thu Feb 19, 2015 7:33 pm
- Forum: Volume 1 (100-199)
- Topic: 193 - Graph Coloring
- Replies: 93
- Views: 24031
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...
- Thu Feb 12, 2015 12:38 am
- Forum: Volume 9 (900-999)
- Topic: 957 - Popes
- Replies: 15
- Views: 7611
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 ...
- Fri Feb 06, 2015 3:19 am
- Forum: Volume 7 (700-799)
- Topic: 793 - Network Connections
- Replies: 102
- Views: 34192
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...
- Mon Jan 26, 2015 2:16 pm
- Forum: Bugs and suggestions
- Topic: Missing User Statistics ... !!
- Replies: 8
- Views: 6616
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 mainte...