dp

package
v0.0.0-...-982d520 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Deque

func Deque(N int, A []int) int

func Grid1

func Grid1(H, W int, grid [][]byte) int

Grid 1 https://atcoder.jp/contests/dp/tasks/dp_h

func Knapsack1

func Knapsack1(N, W int, items [][]int) int

Knapsack 1 https://atcoder.jp/contests/dp/tasks/dp_d

func Knapsack12

func Knapsack12(N, W int, items [][]int) int

func LongestPath

func LongestPath(N int, edges [][]int) int

Longest Path https://atcoder.jp/contests/dp/tasks/dp_g

func Slimes

func Slimes(N int, A []int) int

Slimes https://atcoder.jp/contests/dp/tasks/dp_n

func StoneGame

func StoneGame(piles []int) bool

func Stones

func Stones(K int, nums []int) string

Stones https://atcoder.jp/contests/dp/tasks/dp_k

func Vacation

func Vacation(N int, happiness [][]int) int

Vacation https://atcoder.jp/contests/dp/tasks/dp_c

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL