«hashing» 태그된 질문

하나의 훨씬 적은 수의 데이터로 많은 양의 데이터를 요약해야하는 문제.

20
숫자를 분해하십시오!
당신의 임무는 아래 형식을 사용하여 숫자를 분해하는 것입니다. 이것은 기본 변환과 유사, 대신을 나열하는 것을 제외시켰다 digits기본에, 당신은 목록 values목록 입력까지 추가하도록. 주어진베이스 인 경우 n, 다음 목록의 각 수의 형식이어야합니다 k*(n**m), 0<=k<n그리고 m목록에서 고유합니다. 명세서 합리적인 입 / 출력 형식 프로그램 / 기능은 2 개의 입력을 받아서 목록을 출력합니다. …
16 code-golf  number  sequence  number-theory  base-conversion  code-golf  bitwise  hashing  code-golf  string  ascii-art  whitespace  code-golf  math  code-golf  code-golf  image-processing  counting  code-golf  math  arithmetic  checksum  code-golf  code-golf  math  arithmetic  number-theory  code-golf  array-manipulation  random  code-golf  string  code-golf  math  ascii-art  base-conversion  code-golf  graphical-output  geometry  3d  code-golf  math  linear-algebra  matrix  code-golf  math  number  sequence  code-golf  array-manipulation  code-golf  math  matrix  linear-algebra  code-golf  number  sequence  counting  code-golf  string  code-golf  string  restricted-source  quine  sorting  code-golf  string  geometry  code-golf  string  code-golf  networking  code-golf  base-conversion  code-golf  math  matrix  code-golf  arithmetic  linear-algebra  matrix  code-golf  number  arithmetic  grid  code-golf  number  source-layout  code-golf  string  bitwise  checksum  code-golf  array-manipulation  code-golf  string  probability-theory  code-golf  tips  code-golf  sequence  code-golf  string  math  sequence  calculus  code-golf  string  palindrome  bioinformatics  code-golf  math  combinatorics  counting  permutations  code-golf  parsing  logic-gates  code-golf  arithmetic  number-theory  combinatorics  code-golf  math  sequence  polynomials  integer  code-golf  string  ascii-art  chess  code-golf  string  code-golf  number  code-golf  string  ascii-art  parsing  code-golf  code-golf  number  natural-language  conversion  code-golf  arithmetic  code-golf  string  code-golf  ascii-art  decision-problem 

8
고정 불변 지문
우리가 어떤 polyomino 를 가지고 있고 그것들을 유일하게 식별하고 싶다고 상상 하지만, polyominos는 회전 될 수 있기 때문에, 그것들을 맹목적으로 해싱하면 조각에 대한 동일한 지문과 그 회전 (일반적으로)을 우리에게주지 않을 것입니다. 예를 들어 L-tetromino가 있다면 x x xx 우리는 다음과 같은 지문을 갖기를 원합니다. xx x x xxx xxx , …

5
SHA-1 해시 알고리즘 구현
이 코드 골프의 목표는 문자열을 입력으로 사용하는 프로그램을 작성하는 것이며 SHA-1 해시 값을 16 진수로 출력해야합니다 . SHA-1의 의사 코드는 여기에서 찾을 수 있습니다. 다른 규칙 : 네트워크에 액세스 할 수 없습니다 외부 프로그램을 실행할 수 없습니다 내장 메소드를 사용하여 입력을 해시 할 수 없습니다. 가장 짧은 코드가 승리합니다 ASCII …

9
CRC32 해시 계산
크레딧 이 도전은 @miles 에서 시작되었습니다 . 입력 문자열의 CRC32 해시를 계산하는 함수를 작성하십시오. 입력은 모든 길이의 ASCII 문자열이됩니다. 출력은 해당 입력 문자열의 CRC32 해시입니다. 설명 CRC32와 다른 CRC의 알고리즘은 본질적으로 동일하므로 여기서는 CRC3 만 설명합니다. 먼저, 생성기 다항식이 있는데, 실제로 4 비트 [n + 1] 정수 (CRC32에서는 33 비트)입니다. …

15
논리 게이트 수동
기본 논리 게이트를 시뮬레이트하는 프로그램을 작성하십시오. 입력 : 모두 대문자로 된 단어 다음에 공백으로 구분 된 2 자리 숫자 2 진수 (예 :) OR 1 0. 게이트는 OR, AND, NOR, NAND, XOR, 및이 XNOR요구된다. 출력 : 입력 된 논리 게이트의 출력에 1 또는 0의 두 숫자가 제공됩니다. 예 :이 AND …
13 code-golf  logic-gates  hashing  code-golf  code-golf  number  array-manipulation  integer  code-golf  string  unicode  text-processing  cops-and-robbers  boggle  cops-and-robbers  boggle  code-golf  ascii-art  code-golf  word-puzzle  king-of-the-hill  python  code-golf  sequence  kolmogorov-complexity  code-golf  source-layout  code-golf  string  kolmogorov-complexity  math  number  code-golf  date  code-golf  combinatorics  recursion  game  king-of-the-hill  javascript  code-golf  array-manipulation  code-golf  radiation-hardening  self-referential  code-golf  integer  code-golf  number  code-golf  set-theory  code-golf  sequence  code-golf  string  sorting  natural-language  code-golf  decision-problem  number-theory  primes  code-golf  code-golf  ascii-art  code-challenge  array-manipulation  sorting  rubiks-cube  regular-expression  code-golf  counting  file-system  recursion  code-golf  string  kolmogorov-complexity  color  code-golf  game  code-challenge  permutations  encode  restricted-time  decode  code-golf  math  decision-problem  matrix  integer  palindrome  code-golf  matrix  statistics  king-of-the-hill  king-of-the-hill  python  card-games  code-golf  string  natural-language  code-golf  sequence  number-theory 

7
모스 부호를 표준 출력으로
이 질문에는 모스 부호를로 입력하는 것이 포함됩니다. (마침표) 및-(빼기 기호) (입력을 구분하기위한 공백) 당신의 임무는 코드를 표준 출력으로 변환하는 것입니다. 국제 입력 코드 알파벳 ( http://en.wikipedia.org/wiki/Morse_code#Letters.2C_numbers.2C_punctuation) 에있는 문자 기호 만 입력에 있다고 가정 할 수 있습니다 . 모든 출력은 소문자를 사용해야합니다. 이중 공백은 단어 공간으로 해석해야합니다. 샘플 입력 : . …

20
암호화 해시 골프 (도둑)
이 콘테스트는 끝났습니다. 경찰의 도전에는 남아있는 깨지기 쉬운 대답이 없습니다. 암호화 해시 골프 의 컴패니언 스레드 다시 말해, 주요 도전 과제의 강도에 대한 규칙은 다음과 같습니다. 직무 두 개의 메시지 : 스레드 '도적으로 다음 게시하여 제출'경찰 어떠한 균열 M 과 N을 의 I 되도록 H (M) = H (N) 및 …

9
내 MD2 해시에서 어떤 문자가 더 일반적입니까?
도전은 간단하다 문자열 입력이 주어질 때 MD2 해싱 알고리즘을 사용하여 문자열을 해시 한 다음 결과 해시에서 어떤 문자 세트가 16 진 문자열로 더 일반적인 지에 따라 양의 정수 또는 음의 정수 출력을 리턴 하는 스크립트를 작성하십시오 . 01234567 - (positive) 89abcdef - (negative) 입력은 항상 문자열이지만 최대 길이는 65535입니다. 전체 …

2
X와 Y의 차이가 2 이상인 3보다 큰 X
C ++을 골프 다운하려고합니다. 이 조건을 더 짧게 만들 수 있습니까? X > 3 & X - Y > 1 (물론 공백을 제거하는 것을 제외하고) 그래서, X적어도입니다 4만 X >= Y + 2. X그리고 Y에서 [0,5] 구간에서의 정수이다. 비트 단위 수식을 찾으려고했지만 실패했습니다.
11 code-golf  number  tips  c++  code-golf  popularity-contest  obfuscation  code-golf  c  code-golf  board-game  hexagonal-grid  code-golf  game  grid  code-golf  number  permutations  popularity-contest  math  graphical-output  number-theory  king-of-the-hill  code-challenge  compression  code-challenge  fastest-code  code-golf  math  ascii-art  animation  code-golf  popularity-contest  generation  counting  fastest-code  fastest-code  popularity-contest  image-processing  king-of-the-hill  code-golf  conversion  binary-tree  code-golf  math  number  rational-numbers  division  code-golf  restricted-source  hashing  atomic-code-golf  logic-gates  code-golf  function  code-challenge  puzzle-solver  ai-player  test-battery  popularity-contest  music  compression  code-golf  number  stack  atomic-code-golf  logic-gates  ascii-art  popularity-contest  code-golf  date  grid  code-challenge  game  code-golf  parsing  code-golf  math  geometry  sequence  popularity-contest  code-trolling  code-golf  string  restricted-source  code-golf  quine  king-of-the-hill  code-golf  math  code-golf  simulation  code-golf  ascii-art  code-challenge  sorting  optimization 

1
다다미 바리 솔버
배경 Tatamibari 는 Nikoli가 디자인 한 논리 퍼즐입니다. Tatamibari 퍼즐은 심볼의 세 가지 다른 종류의 사각형 격자에서 재생된다 +, -. 그리고 |. 솔버는 다음 규칙에 따라 그리드를 사각형 또는 사각형 영역으로 분할해야합니다. 모든 파티션에는 정확히 하나의 기호가 포함되어야합니다. +기호 사각형에 포함되어야합니다. |심볼 폭보다 큰 높이를 가진 직사각형 내에 포함되어야한다. -심볼 …

6
가변 길이 해시 구현
내 친구와 나는 우리가 단어를 가지고 노는이 게임을 가지고 있습니다. 그것은 재미있는 오락이며, 아무 것도 남지 않을 때까지 단어에서 글자를 "취소"하는 것과 관련이 있습니다. 나는 그가 그보다 나보다 훨씬 빠르다는 것에 정말로 지쳤습니다. 그래서 그것을 구현하고 마침내 그를 이길 수있는 것이 당신의 일입니다. 분명히, 프로그램을 가능한 한 쉽게 숨길 수 …
당사 사이트를 사용함과 동시에 당사의 쿠키 정책개인정보 보호정책을 읽고 이해하였음을 인정하는 것으로 간주합니다.
Licensed under cc by-sa 3.0 with attribution required.