algorithm

This documentation is automatically generated by online-judge-tools/verification-helper

View the Project on GitHub drken1215/algorithm

:heavy_check_mark: neighbors
(Others/neighbors.hpp)

概要

以下を圧縮してまとめたものである。

Required by

Verified with

Code

#pragma once
#include <bits/stdc++.h>
using namespace std;

// neighbors
const vector<int> DX = {1, 0, -1, 0, 1, -1, 1, -1};
const vector<int> DY = {0, 1, 0, -1, 1, -1, -1, 1};
#line 2 "Others/neighbors.hpp"
#include <bits/stdc++.h>
using namespace std;

// neighbors
const vector<int> DX = {1, 0, -1, 0, 1, -1, 1, -1};
const vector<int> DY = {0, 1, 0, -1, 1, -1, -1, 1};
Back to top page