# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
132242 | Atalasion | Job Scheduling (CEOI12_jobs) | C++14 | 946 ms | 21116 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <bits/stdc++.h>
#define pb push_back
#define all(x) x.begin(), x.end()
#define F first
#define S second
using namespace std;
typedef long long ll;
typedef vector<ll> vl;
typedef pair<ll, ll> pll;
typedef string str;
const ll MOD = 1e9 + 7;
const ll N = 1e6 + 10;
const ll INF = 1e18;
ll n, d, m;
pll a[N];
bool isval(ll x){
queue <pll> q;
ll pnt = 1;
//cout << x << '\n';
for (int i = 1; i <= n; i++){
if (pnt != m + 1){
while ((pnt != m + 1) && (a[pnt].F == i)) q.push(a[pnt]), pnt ++;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |