Search found 3 matches

by razor
Mon May 07, 2012 10:05 am
Forum: Volume 103 (10300-10399)
Topic: istringstream
Replies: 11
Views: 11018

Re: 10389 - Subway

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) .
by razor
Thu Nov 24, 2011 9:07 am
Forum: Volume 116 (11600-11699)
Topic: 11658 - Best Coalitions
Replies: 7
Views: 3746

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 = int...
by razor
Wed Oct 19, 2011 7:01 pm
Forum: Volume 112 (11200-11299)
Topic: 11284 - Shopping Trip
Replies: 32
Views: 14269

Re: 11284 - Shopping Trip

@FelixP
For any particular opera, he can opt not to drive to the store to buy it, since he can just order it from Amazon.
May your algorithm didn't cover it.

Go to advanced search