[][src]Module prcn_lib::prelude

Macros

input

read input from stdin.

Structs

BTreeMap

A map based on a B-Tree.

BTreeSet

A set based on a B-Tree.

HashMap

A hash map implemented with quadratic probing and SIMD lookup.

HashSet

A hash set implemented as a HashMap where the value is ().

Enums

Bytes

Bytes: read a string as array of bytes.

Chars

Chars: read a string as array of chars.

Isize1

Isize1: 1-indexed isize. Output of reading has type isize.

Usize1

Usize1: 1-indexed usize. Output of reading has type usize.

Functions

max

Compares and returns the maximum of two values.

min

Compares and returns the minimum of two values.

random

Generates a random value using the thread-local random number generator.

Attribute Macros

fastout

Enables buffering for stdout.