# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
14288 | tjdals1865 | 탐사 (KOI13_probe) | C++98 | 2033 ms | 420 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <stdio.h>
#include <stdlib.h>
int len,robotcnt,robot[1000][4],i,thing[40],ans=0;
int check(){
int j;
for(j=0;j<robotcnt;j++)
if(robot[j][2]<robot[j][3]) return 2;
for(j=0;j<robotcnt;j++)
if(robot[j][2]!=robot[j][3]) return 1;
return 0;
}
void input(){
scanf("%d %d",&len,&robotcnt);
for(i=0;i<robotcnt;i++)
scanf("%d %d %d",&robot[i][0],&robot[i][1],&robot[i][2]);
}
void output(){
if(ans==1){
for(i=1;i<=len;i++){
if(thing[i]==0)
printf("-");
else printf("#");
}
}
else printf("NONE");
}
void process(int depth, int num){
컴파일 시 표준 에러 (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... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |