#include #include #include #include #include #include #include #include #include #include #include using namespace std; class Solution { public: int numberOfWeakCharacters(vector >& properties); }; int Solution::numberOfWeakCharacters(vector >& p) { return 0; } /* The main either reads values from stdin (with no argument), or generates random input using the argument as a seed to the RNG. If you give it another argument, it will print the numbers. */ int main(int argc, char **argv) { vector < vector > p; int i, j, n; int s; Solution S; if (argc == 1) { s = 0; while (cin >> i >> j) { p.resize(s+1); p[s].push_back(i); p[s].push_back(j); s++; } } else { srand48(atoi(argv[1])); n = drand48()*100000 + 1; p.resize(n); for (i = 0; i < n; i++) { p[i].push_back(drand48() * 99999 + 1); p[i].push_back(99999 - p[i][0] + drand48() * 100); if (p[i][1] < 1) p[i][1] = 1; } if (argc == 3) { for (i = 0; i < p.size(); i++) printf("%6d %6d\n", p[i][0], p[i][1]); } } cout << S.numberOfWeakCharacters(p) << endl; return 0; }