# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
1260062 | Seyyed_Mojtaba_Mortazavi | 코알라 (APIO17_koala) | C++20 | 2 ms | 408 KiB |
#include "koala.h"
#include <bits/stdc++.h>
using namespace std;
const int MAXN = 5e5 + 10;
int minValue(int n, int w)
{
int b[n];
int r[n];
memset(b, 0, sizeof(b));
b[0] = 1;
playRound(b, r);
for (int i = 0; i < n; i++)
{
if (b[i] >= r[i])
return i;
}
}
int maxValue(int n, int w)
{
return 0;
}
int greaterValue(int n, int w)
{
return 0;
}
void allValues(int n, int w, int *p)
{
}
컴파일 시 표준 에러 (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... |