7
高尔夫代码:弗雷序列(I)
挑战 在此任务中,您将得到一个整数N(小于10 ^ 5),输出N阶的Farey序列。 输入N在单行中给出,输入由EOF终止。 输入项 4 3 1 2 输出量 F4 = {0/1, 1/4, 1/3, 1/2, 2/3, 3/4, 1/1} F3 = {0/1, 1/3, 1/2, 2/3, 1/1} F1 = {0/1, 1/1} F2 = {0/1, 1/2, 1/1} 约束条件 输入数量不会超过10 ^ 6个值 您可以使用任何选择的语言 最短的解决方案获胜!
10
code-golf
math
code-golf
math
code-golf
number
number-theory
code-golf
math
arithmetic
repeated-transformation
code-golf
geometry
popularity-contest
code-golf
code-golf
tips
haskell
math
fastest-algorithm
code-golf
combinatorics
code-golf
math
polynomials
rational-numbers
code-golf
code-golf
popularity-contest
javascript
code-golf
kolmogorov-complexity
code-golf
code-golf
math
combinatorics
permutations
code-challenge
restricted-source
random
array-manipulation
code-challenge
generation
code-golf
code-golf
ascii-art
arithmetic
division
code-challenge
number
code-golf
math
number
binary
code-golf
ascii-art
code-golf
interpreter
stack
code-golf
internet
networking
code-golf
math
code-golf
ascii-art
code-golf
math
sequence
code-golf
hello-world
restricted-source
code-golf
ascii-art
code-golf
geometry
code-golf
kolmogorov-complexity
pi
code-golf
math
combinatorics
permutations
code-golf
math
code-challenge
ascii-art
code-golf
string
code-golf
quine
code-golf
math
floating-point
golfscript
code-golf
string
code-golf
sliding-puzzle
code-challenge
arithmetic
code-golf
math
code-golf
geometry
optimized-output