13
Ters permütasyon endeksi
Giriş N öğeli bir listenin sözlüksel permütasyonları 0'dan n'ye kadar numaralanabilir ! - 1. Örneğin, 3! = 6 permütasyon (1,2,3)olur (1,2,3), (1,3,2), (2,1,3), (2,3,1), (3,1,2), (3,2,1). Listeye bir permütasyon uygulandığında, elemanları permütasyondaki sayılarla aynı sırada sıralanır. Örneğin, permütasyon uygulanması (2,3,1)için l = (a,b,c)verim (l[2],l[3],l[1]) = (b,c,a). Bir permütasyonun tersi, bu …
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