Search found 7 matches
- Wed Nov 28, 2012 6:31 am
- Forum: Volume 116 (11600-11699)
- Topic: 11695 - Flight Planning
- Replies: 1
- Views: 1907
11695 - Flight Planning
I've been thinking and trying to code something since this morning and I'm stuck. Could anyone give me hints on how to solve this one? I know the algorithms to find a tree's diameter and everything that's needed, I guess. I just don't know really what to do. The book says "cut worst edge"....
- Wed Oct 10, 2012 2:42 am
- Forum: Volume 118 (11800-11899)
- Topic: 11831 - Sticker Collector Robot
- Replies: 6
- Views: 4188
Re: 11831 - Sticker Collector Robot
OMG What's wrong with that code? I keep getting WA for no reason! I've read it soo many times and it seems absolutely right @__@ Please help! #include <cstdio> #include <iostream> #include <vector> #include <algorithm> #include <string> #include <cstring> #include <cmath> using namespace std; int n,...
- Sun Oct 07, 2012 9:49 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10172 - The Lonesome Cargo Distributor
- Replies: 9
- Views: 5493
Re: 10172 - The Lonesome Cargo Distributor
:( What's wrong with this code? It all seems right to me, it must be some corner case I'm missing. Could someone please help? #include <cstdio> #include <iostream> #include <algorithm> #include <cmath> #include <bitset> #include <cstring> #include <stack> #include <queue> typedef unsigned long long ...
- Wed Sep 26, 2012 9:53 pm
- Forum: Volume 7 (700-799)
- Topic: 793 - Network Connections
- Replies: 102
- Views: 44116
Re: 793 - Network Connections
Thank you so muchbrianfry713 wrote:init() needs to initialize pset[1] through pset[n].
![:D](./images/smilies/icon_biggrin.gif)
- Wed Sep 26, 2012 7:50 am
- Forum: Volume 7 (700-799)
- Topic: 793 - Network Connections
- Replies: 102
- Views: 44116
Re: 793 - Network Connections
Code: Select all
Accepted :)
- Wed Sep 26, 2012 7:49 am
- Forum: Volume 108 (10800-10899)
- Topic: 10895 - Matrix Transpose
- Replies: 17
- Views: 7722
Re: 10895 - Wrong Answer! :(
It didn't solve it ![:(](./images/smilies/icon_frown.gif)
![:(](./images/smilies/icon_frown.gif)
- Thu Sep 20, 2012 6:51 am
- Forum: Volume 108 (10800-10899)
- Topic: 10895 - Matrix Transpose
- Replies: 17
- Views: 7722
10895 - Wrong Answer! :(
#include <iostream> #include <cstdio> #include <algorithm> #include <cstring> #include <string> #include <cctype> #include <stack> #include <queue> #include <stdlib.h> #include <list> #include <vector> #include <map> #include <sstream> #include <cmath> #include <bitset> #include <utility> #include ...