# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
336891 | seedkin | 올림픽 피자 (tutorial5) | C11 | 1088 ms | 7936 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include "pizza.h"
struct Order {
int next;
int prev;
int need[8];
int needCnt;
int c[8];
};
int order_num;
int material[8];
struct Order order[100000];
int root = -1;
int last = -1;
int check(int need[8], int needCnt) {
for(int i =0; i< needCnt; i++) {
if(material[need[i]] == 0) return 0;
}
return 1;
}
void Init() {
order_num = 0;
root = -1;
last = -1;
for(int i = 0; i < 8; i++) {
컴파일 시 표준 에러 (stderr) 메시지
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |