«math» 태그된 질문

과제는 수학과 관련이 있습니다. [number] [number-theory] [arithmetic] [combinatorics] [graph-theory] [geometry] [abstract-algebra]와 같이보다 구체적인 태그를 사용하는 것도 고려하십시오.

6
합리적인 생성 함수의 계수 찾기
일련의 숫자를 거듭 제곱의 계수로 쓰면, 그 거듭 제곱 을 해당 순서 의 (일반) 생성 함수 (또는 Gf)라고합니다. 즉, 함수 F(x)와 일련의 정수에 a(n)대해 다음과 같은 경우 a(0) + a(1)x + a(2)x^2 + a(3)x^3 + a(4)x^4 + ... = F(x) 그런 다음 F(x)의 생성 함수입니다 a. 예를 들어, 기하학적 시리즈 …
12 code-golf  math  integer  polynomials  code-golf  math  abstract-algebra  restricted-time  code-golf  math  primes  code-golf  math  number  arithmetic  code-golf  quine  code-golf  number  sequence  code-golf  string  number  code-golf  array-manipulation  code-golf  number  code-golf  string  code-golf  arithmetic  code-golf  string  array-manipulation  rubiks-cube  code-golf  math  number  code-golf  tips  bash  code-golf  ascii-art  music  code-golf  arithmetic  code-golf  math  number  arithmetic  integer  code-golf  number  array-manipulation  code-golf  geometry  grid  set-partitions  code-golf  math  number  code-golf  combinatorics  code-golf  regular-expression  code-golf  permutations  code-golf  ascii-art  code-golf  number  array-manipulation  matrix  code-golf  kolmogorov-complexity  compile-time  cops-and-robbers  polyglot  cops-and-robbers  polyglot  code-golf  string  code-golf  string  ascii-art  matrix  animation  code-golf  ascii-art  code-golf  string  balanced-string  code-golf  integer  integer-partitions  expression-building 

16
바운스 모듈로 두 숫자
모듈로 연산의 그래프 ( 와이= x모드케이y=xmodky = x \mod k )는 다음과 같습니다. 이것은 "래핑"동작을 만들 수 있기 때문에 매우 유용한 기능입니다. 그러나 두 벽 사이에 "튀는"모양을 만드는 데 사용하려는 경우 매우 번거 롭습니다. "bounce"함수 ( 와이= 바운스 ( x , k )y=bounce(x,k)y = \text{bounce} (x, k) ) 의 그래프는 …

30
표준 스크래치 란 무엇입니까?
골프에서 코스의 표준 스크래치는 다음 공식을 사용하여 계산됩니다. (3*num_of_3_par_holes + 4*num_of_4_par_holes + 5*num_of_5_par_holes) - difficulty_rating 당신의 임무는이 4 개의 입력이 주어지면 골프 코스의 표준 스크래치를 계산하는 것입니다. 모든 형식의 형식으로 입력해야합니다 [num_of_3_pars, num_of_4_pars, num_of_5_pars], difficulty rating 그러나 바이트를 절약하면 다른 방식으로 입력을받습니다. 함수에서 리턴하는 것과 같이 메타에서 승인 된 메소드로 …
12 code-golf  math  number 

3
두배 캐스케이드
먼저, 수학적 해석, 짧고 가치가 있습니다. 경우 0 < a < 4는 로지스틱 함수는 f(x) = ax(1-x) 자체의 내부에 간격 [0,1]를 매핑한다. 이것은 반복 게임을 할 수 있다는 것을 의미합니다. 예를 들어, a = 2 인 경우 초기 값 0.3은 0.42, 0.4872 등이됩니다. 매개 변수가 a증가함에 따라 2 차 함수 …
12 code-golf  math  number 

14
파일을 0으로 채 웁니다
오늘해야 할 일은 기존 파일을 가져 와서 특정 크기에 도달 할 때까지 0을 추가하는 것입니다. 현재 디렉토리의 파일 이름 f과 바이트 수를 사용 하는 프로그램이나 함수를 작성해야합니다 b. 의 원래 내용을 유지하면서 새 크기가 바이트 가되도록 끝에 f0을 입력해야합니다 (아스키 0이 아닌 null 바이트)b . 당신은 가정 수 f는 처음보다 …
12 code-golf  file-system  code-golf  code-golf  string  code-golf  string  code-golf  random  game  compression  code-golf  array-manipulation  sorting  code-golf  number  arithmetic  primes  code-golf  geometry  code-golf  code-golf  decision-problem  regular-expression  code-golf  string  math  code-challenge  restricted-source  integer  palindrome  code-golf  string  palindrome  code-challenge  busy-beaver  code-golf  ascii-art  code-golf  string  code-golf  string  permutations  code-golf  code-golf  string  permutations  code-golf  number  primes  function  set-theory  code-challenge  hello-world  code-golf  math  number  decision-problem  code-golf  code-golf  sequence  arithmetic  integer  code-golf  math  number  arithmetic  decision-problem  code-golf  kolmogorov-complexity  alphabet  code-golf  combinatorics  graph-theory  tree-traversal  code-golf  set-theory  code-golf  interpreter  brainfuck  substitution  code-golf  quine  permutations 

1
안정적인 결혼 문제
배경 이 있다고 가정 2*n결혼하는 사람들은 각 사람이 정확히에 매료되는 것을 가정 해 보자 n제약이 아래 다른 사람 : 매력은 대칭이다 ; 즉 사람 A이 사람에게 끌 리면 사람 은 B사람에게 B끌린다 A. 매력은 반전 이적이다 ; 사람이있는 경우 즉,은 A과 사람이 B각 사람에게 매력을 C, 다음 사람 A과 사람이 …

9
가우스 행렬 생성
가우시안 블러 는 이미지를 부드럽게 흐리게하는 데 사용되는 방법입니다. 이미지의 픽셀과 함께 매트릭스를 만들어 매트릭스를 만드는 과정이 포함됩니다. 이 도전에서, 당신의 임무는 가우시안 블러에 사용되는 매트릭스를 구성하는 것입니다. 치수 (2 r + 1 × 2 r + 1) 의 행렬을 구성하기 위해 블러의 반경이 될 입력 r 과 표준 편차가 …
12 code-golf  math  matrix 

1
수학 Metagolf 매니아!
Mathemania 사양 : Mathemania 코드의 모든 부분은 숫자로 시작합니다 2. 에서 2다음 작업을 수행 할 수 있습니다. e: 지수. 이 명령의 기본값은 숫자를 제곱하는 것입니다. f: 계승. 이 명령의 기본값은 숫자 ( using f on 2 = 2! = 2) 의 단일 계승을 사용합니다 . r: 뿌리. 이 명령의 기본값은 …
12 math  metagolf 

3
내추럴 파이 # 2-강
골 해시 열이있는 문자열이 주어지면 전체 길이를 계산하고 처음부터 끝까지의 거리로 나눕니다. 시뮬레이션 우리는 무엇을 시뮬레이션하고 있습니까? 이 논문 에 따르면 시작과 끝 사이의 거리에 대한 강의 길이의 비율은 대략 Pi입니다! (이것은 경험적으로 반증되었을 수도 있지만 데이터를 찾을 수 있으며이 과제에 대해서는 사실이라고 가정합니다). 우리는 이것을 어떻게 시뮬레이트합니까? 공백과 해시 …

1
증명 2 + 2 = 2 * 2 (및 유사)
출력 등과 같은 문장의 전체 정식 게이 1+2=3, 2+2=2*(1+1)등 소개 Peano Arithmetic을 알고 있다면이 섹션을 건너 뛸 수 있습니다. 자연수를 정의하는 방법은 다음과 같습니다. (Axiom 1) 0 is a number (Axiom 2) If `x` is a number, the `S(x)`, the successor of `x`, is a number. 따라서 예를 들어 S(S(S(0)))숫자입니다. …

3
음소 아부이다
캐릭터 이 유니 코드 문자를 영어 IPA 자음 이라고하겠습니다 . bdfhjklmnprstvwzðŋɡʃʒθ 이 유니 코드 문자를 영어 IPA 모음 이라고하겠습니다 . aeiouæɑɔəɛɜɪʊʌː (예, ː긴 모음 표시 일 뿐이지 만이 문제를 해결하기 위해 모음으로 취급합니다.) 마지막으로, 이는 1 차 및 2 차 응력 표시입니다 . ˈˌ 주의 ɡ( U + 0261는 ) …

3
투표 삼각형 확인
투표 수가 우리는 라벨 것, B는 , 각각의 행 및 열은 임의의 증가 순서로되도록, 삼각형으로 B 내지 1의 숫자를 배열하는 방법의 수 (B + 1) / 2이다. 처음 네 개의 투표 번호는 다음과 같습니다. a(0) = 1 a(1) = 1 a(2) = 1 a(3) = 2 a(3)2는 2에서 3(3+1)/2 = …

2
Kipple을 해석하십시오!
소개 Kipple 은 2003 년 3 월 Rune Berg가 발명 한 스택 기반의 난해한 프로그래밍 언어입니다. Kipple에는 27 개의 스택, 4 개의 연산자 및 제어 구조가 있습니다. 스택 스택은 이름이 지정됩니다 a- z및 32 비트 부호있는 정수가 포함되어 있습니다. @숫자를보다 편리하게 출력 할 수 있도록 특수 스택이 있습니다 . 숫자를로 …
12 code-golf  interpreter  code-golf  string  code-golf  math  string  code-golf  ascii-art  path-finding  code-golf  string  ascii-art  code-golf  interpreter  binary  logic-gates  logic  code-golf  ascii-art  code-golf  graph-theory  code-golf  string  code-golf  number  sorting  code-golf  number-theory  random  cryptography  polynomials  code-golf  number  code-golf  math  number  sequence  code-golf  quine  code-generation  code-golf  arithmetic  set-theory  code-golf  sequence  code-golf  code-golf  string  math  fastest-code  optimization  code-golf  code-golf  internet  stack-exchange-api  code-golf  array-manipulation  code-golf  string  internet  string  code-challenge  internet  test-battery  code-golf  math  pi  code-golf  arithmetic  primes  code-golf  array-manipulation  code-golf  string  code-golf  string  palindrome  code-golf  sequence  number-theory  fastest-algorithm  code-golf  math  number  base-conversion  code-golf  number-theory  sorting  subsequence  search  code-golf  permutations  code-challenge  popularity-contest  code-generation 

3
자기 참조 다항식
모든 주어진 정도에 대해, (다시 평가됨 ) 모두에 대한 다항식 의 항의 계수가 되도록 n적분 다항식을 구성 할 수 있습니다. 그것들을 독특하게 만들기 위해, 우리는 선행 계수 (의 계수 )가 양수와 최소값이어야합니다.pp(k)pkx^k0 <= k <= nx^n 이 다항식에는 몇 가지 흥미로운 속성이 있습니다 . 이 도전 과제를 수행하도록 영감을 얻은 …

3
문 상을 수상 할 수있는 기회는 무엇입니까?
지역 ACM 장은 회의에 참석 한 사람들에게 상을 수여합니다. 당신은 당신이 프로그래밍 퍼즐을 해결하면 (하지만 그러나 승리의 증가 기회를 얻을 나는 항상 그 퍼즐을 해결 참조). 따라서 어떤 사람들에게는 1 개의 항목이 있고 다른 사람들에게는 2 개의 항목이 있습니다. 그러나 기다리십시오! 추첨 프로그램이 작동하는 방식은 누군가 퍼즐을 풀 때 다른 …

당사 사이트를 사용함과 동시에 당사의 쿠키 정책개인정보 보호정책을 읽고 이해하였음을 인정하는 것으로 간주합니다.
Licensed under cc by-sa 3.0 with attribution required.