# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
21855 | ulna | Schools (IZhO13_school) | C++11 | 176 ms | 10208 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <bits/stdc++.h>
using namespace std;
// why am I so weak
int n, m, s;
int a[300055], b[300055];
int group[300055];
struct compare1 {
bool operator () (const int &u, const int &v) const {
return a[u] < a[v];
}
} ;
struct compare2 {
bool operator () (const int &u, const int &v) const {
return b[u] < b[v];
}
} ;
int main() {
scanf("%d %d %d", &n, &m, &s);
for (int i = 0; i < n; i++) {
scanf("%d %d", &a[i], &b[i]);
}
vector<int> vec(n);
for (int i = 0; i < n; i++) vec[i] = i;
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |