# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
725526 | vjudge1 | Schools (IZhO13_school) | C++17 | 188 ms | 198288 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>
#define F first
#define S second
using namespace std;
using ll = long long;
using PI = pair<ll, ll>;
using PII = pair<PI, ll>;
int main()
{
freopen("school.in", "r", stdin);
freopen("school.out", "w", stdout);
//ios_base::sync_with_stdio(0); cin.tie(0);
ll n, m, s; cin >> n >> m >> s;
vector<PII> vp(n+10);
for(ll i = 0; i < n; i++){
cin >> vp[i].F.F >> vp[i].F.S;
vp[i].S = i;
}
vector<PII> ord(n+10);
for(ll i = 0; i < n; i++){
//ord[i].F.F = vp[i].F.F-vp[i].F.S;
ord[i].F.S = vp[i].F.F;
ord[i].S = i;
}
ll ans = 0;
cout << ans <<"\n";
}
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |