# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
763752 | Petrix | Job Scheduling (CEOI12_jobs) | C++17 | 281 ms | 13968 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <iostream>
#include <algorithm>
using namespace std;
struct vc{
int a,ind;
}v[1000000];
bool cmp(vc a,vc b){
if(a.a<b.a)
return 1;
else
return 0;
}
int n,m;
bool verf(int mij,int d,int n,int m){
int z,i,rasp,stg,j,poz;
i=stg=1;poz=0;
///printf("%d \n",v[2].a);
while(i<=n && stg && poz<m){///printf("a");
for(j=0;j<mij&& poz<m;j++){
//printf("%d ",poz);
if(v[poz].a>i){//printf("| %d %d |",v[poz].a,i);
break;
}else if(v[poz].a+d<i && poz<m){
//printf("{%d %d} ",v[poz].a+d,i);
stg=0;
컴파일 시 표준 에러 (stderr) 메시지
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |