# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
725523 | 2023-04-17T14:52:55 Z | vjudge1 | Schools (IZhO13_school) | C++17 | 4 ms | 492 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; ll indx = 0; vector<bool> vis(n+10); ll cnt = 0; cout << ans <<"\n"; }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Runtime error | 2 ms | 468 KB | Execution killed with signal 6 |
2 | Runtime error | 2 ms | 468 KB | Execution killed with signal 6 |
3 | Runtime error | 2 ms | 468 KB | Execution killed with signal 6 |
4 | Runtime error | 2 ms | 468 KB | Execution killed with signal 6 |
5 | Runtime error | 2 ms | 468 KB | Execution killed with signal 6 |
6 | Runtime error | 2 ms | 468 KB | Execution killed with signal 6 |
7 | Runtime error | 2 ms | 468 KB | Execution killed with signal 6 |
8 | Runtime error | 2 ms | 468 KB | Execution killed with signal 6 |
9 | Runtime error | 3 ms | 468 KB | Execution killed with signal 6 |
10 | Runtime error | 2 ms | 468 KB | Execution killed with signal 6 |
11 | Runtime error | 2 ms | 468 KB | Execution killed with signal 6 |
12 | Runtime error | 2 ms | 468 KB | Execution killed with signal 6 |
13 | Runtime error | 2 ms | 468 KB | Execution killed with signal 6 |
14 | Runtime error | 4 ms | 468 KB | Execution killed with signal 6 |
15 | Runtime error | 2 ms | 492 KB | Execution killed with signal 6 |
16 | Runtime error | 3 ms | 468 KB | Execution killed with signal 6 |
17 | Runtime error | 3 ms | 468 KB | Execution killed with signal 6 |
18 | Runtime error | 2 ms | 468 KB | Execution killed with signal 6 |
19 | Runtime error | 2 ms | 468 KB | Execution killed with signal 6 |
20 | Runtime error | 2 ms | 468 KB | Execution killed with signal 6 |