This documentation is automatically generated by online-judge-tools/verification-helper
#include "src/integer-geometry/nidx.hpp"
#pragma once
#include "alias.hpp"
namespace intgeometry2d {
inline usize nidx(usize idx, usize size) {
return idx + 1 == size ? 0 : idx + 1;
}
} // intgeometry2d
#line 2 "src/integer-geometry/nidx.hpp"
#line 2 "src/integer-geometry/alias.hpp"
#include <cstddef>
#include <cstdint>
namespace intgeometry2d {
using isize = std::ptrdiff_t;
using usize = std::size_t;
using i32 = std::int_fast32_t;
using i64 = std::int_fast64_t;
using u32 = std::uint_fast32_t;
using u64 = std::uint_fast64_t;
} // intgeometry2d
#line 4 "src/integer-geometry/nidx.hpp"
namespace intgeometry2d {
inline usize nidx(usize idx, usize size) {
return idx + 1 == size ? 0 : idx + 1;
}
} // intgeometry2d