# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
6161 | baneling100 | 구경하기 (JOI13_watching) | C++98 | 92 ms | 16752 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <stdio.h>
#include <stdlib.h>
#include <algorithm>
#define INF 0x7fffffff
using namespace std;
int N, P, Q, A[2001], Max, Min=INF, Ans, Small[2001], Big[2001], D[2001][2001];
void input(void)
{
int i;
scanf("%d %d %d",&N,&P,&Q);
if(P+Q>=N)
{
printf("1");
exit(0);
}
for(i=1 ; i<=N ; i++)
{
scanf("%d",&A[i]);
if(Max<A[i])
Max=A[i];
if(Min>A[i])
Min=A[i];
}
sort(A+1,A+N+1);
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |