it means if you have subway line description like this:
0 0 0 1 1 0 -1 -1
then, you cannot using subway directly from (0,0) to (1, 0) .
Search found 3 matches
- Mon May 07, 2012 10:05 am
- Forum: Volume 103 (10300-10399)
- Topic: istringstream
- Replies: 11
- Views: 13248
- Thu Nov 24, 2011 9:07 am
- Forum: Volume 116 (11600-11699)
- Topic: 11658 - Best Coalitions
- Replies: 7
- Views: 4666
Why WA?
I used dp knapsack, but why wa?
#include <cstdio>
#include <cmath>
#include <cstdlib>
#include <cctype>
#include <cstring>
#include <iostream>
#include <vector>
#include <queue>
#include <stack>
#include <string>
#include <set>
#include <map>
#include <algorithm>
#define FOR(i, a, b) for(int i ...
#include <cstdio>
#include <cmath>
#include <cstdlib>
#include <cctype>
#include <cstring>
#include <iostream>
#include <vector>
#include <queue>
#include <stack>
#include <string>
#include <set>
#include <map>
#include <algorithm>
#define FOR(i, a, b) for(int i ...
- Wed Oct 19, 2011 7:01 pm
- Forum: Volume 112 (11200-11299)
- Topic: 11284 - Shopping Trip
- Replies: 32
- Views: 19595
Re: 11284 - Shopping Trip
@FelixP
May your algorithm didn't cover it.For any particular opera, he can opt not to drive to the store to buy it, since he can just order it from Amazon.