13
Índice de permutação inversa
Introdução As permutações lexicográficas de uma lista com n elementos podem ser numeradas de 0 a n ! - 1. Por exemplo, os 3! = 6 permutações de (1,2,3)seria(1,2,3) , (1,3,2), (2,1,3), (2,3,1), (3,1,2), (3,2,1). Quando uma permutação é aplicada a uma lista, seus elementos são ordenados na mesma ordem …
17
code-golf
combinatorics
permutations
code-golf
image-processing
brainfuck
encode
steganography
code-golf
ascii-art
code-golf
ascii-art
kolmogorov-complexity
code-golf
ascii-art
fibonacci
code-golf
string
code-golf
sorting
popularity-contest
statistics
code-golf
ascii-art
kolmogorov-complexity
code-golf
code-golf
ascii-art
tic-tac-toe
code-golf
string
code-challenge
classification
test-battery
binary-matrix
code-golf
math
arithmetic
code-golf
ascii-art
random
code-golf
string
code-golf
number
binary
bitwise
code-golf
number
arithmetic
code-golf
math
ascii-art
code-golf
string
ascii-art
code-golf
string
ascii-art
code-golf
string
code-golf
counting
code-golf
number
binary
bitwise
decision-problem
code-golf
array-manipulation
code-golf
tips
brain-flak
code-challenge
quine
source-layout
code-generation
code-golf
linear-algebra
matrix
abstract-algebra
binary-matrix
code-golf
string
palindrome
code-golf
puzzle-solver
sudoku
code-golf
ascii-art
code-golf
graphical-output
internet
code-golf
ascii-art
kolmogorov-complexity
code-golf
math
code-golf
clock