# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
1223656 | SpyrosAliv | 육각형 영역 (APIO21_hexagon) | C++20 | 0 ms | 0 KiB |
#include <bits/stdc++.h>
using namespace std;
int draw_terrirory(int N, int A, int B, vector<int> D, vector<int> L) {
return L[0] * (L[0] + 1) / 2;
}