# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
308924 | shrek12357 | Mate (COCI18_mate) | C++14 | 1904 ms | 39416 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <iostream>
#include <vector>
#include <algorithm>
#include <string>
#include <map>
#include <set>
#include <climits>
#include <cmath>
#include <fstream>
#include <queue>
#include <stack>
using namespace std;
#define ll long long
//cin.tie(0);
//ios_base::sync_with_stdio(0);
const int MOD = 1e9 + 7;
const int MAXN = 2005;
int main() {
ll bin[MAXN + 5][MAXN + 5];
for (int i = 0; i <= MAXN; i++)
{
for (int j = 0; j <= i; j++)
{
if (j == 0 || j == i)
bin[i][j] = 1;
else
bin[i][j] = (bin[i - 1][j - 1] +
컴파일 시 표준 에러 (stderr) 메시지
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |