# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
725527 | vjudge1 | Schools (IZhO13_school) | C++17 | 206 ms | 198220 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#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";
}
컴파일 시 표준 에러 (stderr) 메시지
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |