«kolmogorov-complexity» 태그된 질문

비공식적으로 Kolmogorov의 복잡성은 문자열이나 이미지와 같은 상수 객체를 설명하거나 생성하는 데 필요한 코드의 양입니다. 이 카테고리에서 챌린지를 게시 할 때는 기존 챌린지에 새로운 것을 추가해야합니다.

30
int 입력 n이 주어지면 n * reversed (n)을 출력하십시오.
정수가 주어지면 n출력하십시오.n * reversed(n) reversed(n)reverse의 자릿수 일 때 얻는 숫자입니다 n. reverse(512) = 215 reverse(1) = 1 reverse(101) = 101 >>>>>>>> func(5) = 5*5 = 25 func(12) = 12*21 = 252 func(11) = 11*11 = 121 func(659) = 659*956 = 630004 최단 코드 승리! 리더 보드 코드 스 니펫 …
9 code-golf  math  arithmetic  code-golf  math  integer  code-golf  arithmetic  integer  code-golf  sequence  base-conversion  palindrome  code-golf  math  primes  integer  code-golf  parsing  conversion  syntax  code-golf  sequence  primes  code-challenge  geometry  optimization  code-golf  graph-theory  code-golf  number-theory  primes  integer  code-golf  source-layout  cops-and-robbers  code-golf  source-layout  cops-and-robbers  code-golf  sequence  primes  integer  code-golf  math  number-theory  primes  rational-numbers  code-golf  math  sequence  number-theory  primes  code-golf  string  code-golf  math  combinatorics  permutations  restricted-complexity  code-golf  array-manipulation  code-golf  number  sequence  code-golf  number  sequence  code-golf  binary-matrix  code-golf  math  tips  javascript  algorithm  code-golf  string  code-golf  number  sequence  code-golf  math  arithmetic  parsing  code-golf  number  sequence  primes  code-golf  string  ascii-art  geometry  integer  code-golf  geometry  code-golf  number  array-manipulation  code-golf  math  geometry  code-golf  number  sequence  arithmetic  integer  code-golf  string  kolmogorov-complexity  code-golf  number  code-golf  number  chess  code-golf  sequence  decision-problem  subsequence  code-golf  math  number  primes  code-golf  primes  permutations  code-golf  integer  probability-theory  statistics  code-golf  string  code-golf  sequence  decision-problem  parsing  board-game  code-golf  binary  graph-theory  code-golf  board-game  classification  tic-tac-toe  code-golf  ascii-art  polyglot  code-golf  date  code-golf  geometry 

10
호주 주 확장
8 개의 호주 주와 테리토리가 있으며 각각 2 자 또는 3 자의 약어가 있습니다 : 행동 : 호주 수도권 NSW : 뉴 사우스 웨일즈 NT : 노던 테리토리 QLD : 퀸즐랜드 SA : 남호주 TAS : 태즈 매니아 VIC : 빅토리아 WA : 서호주 귀하의 임무는 대문자로 유효한 호주 약어를 …

2
가장 보편적 인 단어
이 질문은 "Thing Explainer" 가 읽기 쉽고 재미 있기 때문에 작성되었습니다 . 문자, 숫자 및 이와 같은 것을 읽고 가져 와서 모든 단어 가이 세트의 일부인 경우 "#%|?반환 True / 1하는 "컴퓨터가하는 일"을 작성하십시오 . 모든 단어가 해당 세트의 일부가 아닌 경우 해당 단어의 일부가 아닌 단어를 리턴하십시오. 이 웹 …
9 code-golf  string  parsing  code-golf  array-manipulation  random  permutations  code-golf  string  code-golf  parsing  code-golf  string  quine  code-golf  string  parsing  comment  code-golf  string  counting  natural-language  code-golf  string  decision-problem  code-golf  math  code-challenge  metagolf  test-battery  code-golf  string  code-golf  math  number  arithmetic  source-layout  code-golf  number  primes  decision-problem  code-golf  math  arithmetic  code-golf  date  code-golf  string  cryptography  code-golf  code-golf  chess  board-game  code-golf  geometry  grid  puzzle-solver  set-partitions  code-golf  number  natural-language  code-golf  ascii-art  code-golf  math  code-golf  string  ascii-art  kolmogorov-complexity  code-golf  string  natural-language  code-golf  game  board-game  tic-tac-toe  code-golf  ascii-art  hexagonal-grid  code-golf  string  comment  code-golf  internet  code-golf  sorting  code-golf  kolmogorov-complexity  unicode  code-golf  tips  code-golf  string  natural-language  code-golf  string  kolmogorov-complexity  source-layout  hello-world  code-golf  string  kolmogorov-complexity  counting  natural-language  code-golf  random  quine  code-golf  string  math  bitwise  code-golf  permutations  code-golf  string  code-golf  arithmetic 

1
골프 영어 – 수축 사용
나는에서 가지고 내가 스택 교환 내용에서 많이 웃었다하지 않은 이 . 나는 여러분이이 도전을 즐기게 될 것이라고 생각합니다. 코드 골프 인 함수 나 프로그램을 작성할 것입니다. 즉, 가능한 한 짧아야합니다. 텍스트가 주어지면 이 표 에 따라 가능한 한 많은 단어를 축소 한 텍스트를 반환 하십시오 . 테이블에서 정보를 가져 와서는 …

15
올해의 중국 12 궁도
2015 년은 염소의 해였습니다! 이 도전에서, 당신은 어떤 동물이 연도를 나타내는 지 알아낼 것입니다. 이 도전을 복잡하게 만들지 않으려면 중국의 설날을 계산할 필요가 없습니다. 조디악에서는 12 마리에 불과하므로 코드는 가능한 짧아야합니다. 예 프로그램은 시스템 연도를 받아야합니다 . 첫 번째 줄은 참조 용입니다. 2015 Goat 1924 Rat 1923 Pig 2008 Rat …

8
오늘 부드러 웠습니까?
데비안 리눅스 배포판 (그리고 우분투, 칼리 등의 데비안 기반 배포판)은 APT라는 패키지 관리자를 사용합니다. 프로그램을 설치하려면 foo터미널에 입력하십시오 sudo apt-get install foo APT의 하나의 작은 부활절 달걀은 다음과 같습니다 apt-get moo 입력 후 다음과 같은 출력이 생성됩니다. (__) (oo) /------\/ / | || * /\---/\ ~~ ~~ ..."Have you mooed …

14
몇 년입니까?
2014 년 12 월이며 2015 년이 거의 시작되었습니다. 그러나 모든 사람이 이것을 깨달은 것은 아닙니다. 그러나 PPCG의 사람들은 구출에 온다! 입력 당신의 프로그램은 12 월에있는 날들이 11 월과 1 월의 날들과 다르게 보이는 벽과 같은 그리드를받습니다. 매주 일요일로 시작하여 토요일로 끝납니다. 월 내의 일수는로 표시됩니다 #. 월이 아닌 날은 (공백, …

3
카운팅로드; 당신의 막대를 계산
일부 배경 카운팅로드 는 2000 년 이상 많은 아시아 문화권의 수학자들이 정수 또는 분수를 나타내는 작은 막대 (길이 3-14cm)입니다. (이 chqllenge에서 우리는 부호없는 정수에 중점을 둡니다.) 막대 숫자라는 서면 버전도있었습니다. 작동 방식은 다음과 같습니다. (어떤 시점에서 혼란 스러우면 각 숫자의 ASCII 표현과 하단에 포함 된 일부 예를 확인하십시오.) 막대 숫자는 …
당사 사이트를 사용함과 동시에 당사의 쿠키 정책개인정보 보호정책을 읽고 이해하였음을 인정하는 것으로 간주합니다.
Licensed under cc by-sa 3.0 with attribution required.