# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
725526 | 2023-04-17T14:55:31 Z | vjudge1 | 학교 설립 (IZhO13_school) | C++17 | 188 ms | 198288 KB |
#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
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Incorrect | 154 ms | 198176 KB | Output isn't correct |
2 | Incorrect | 162 ms | 198172 KB | Output isn't correct |
3 | Incorrect | 170 ms | 198092 KB | Output isn't correct |
4 | Incorrect | 159 ms | 198176 KB | Output isn't correct |
5 | Incorrect | 166 ms | 198172 KB | Output isn't correct |
6 | Incorrect | 181 ms | 198128 KB | Output isn't correct |
7 | Incorrect | 163 ms | 198288 KB | Output isn't correct |
8 | Incorrect | 172 ms | 198128 KB | Output isn't correct |
9 | Incorrect | 167 ms | 198176 KB | Output isn't correct |
10 | Incorrect | 158 ms | 198112 KB | Output isn't correct |
11 | Incorrect | 154 ms | 198184 KB | Output isn't correct |
12 | Incorrect | 170 ms | 198108 KB | Output isn't correct |
13 | Incorrect | 169 ms | 198180 KB | Output isn't correct |
14 | Incorrect | 157 ms | 198132 KB | Output isn't correct |
15 | Incorrect | 159 ms | 198168 KB | Output isn't correct |
16 | Incorrect | 188 ms | 198112 KB | Output isn't correct |
17 | Incorrect | 160 ms | 198092 KB | Output isn't correct |
18 | Incorrect | 157 ms | 198176 KB | Output isn't correct |
19 | Incorrect | 169 ms | 198176 KB | Output isn't correct |
20 | Incorrect | 176 ms | 198268 KB | Output isn't correct |