«counting» 태그된 질문

일부 특성의 발생 횟수를 계산하는 것과 관련된 문제.

24
ogl-edocf 도전
입력 범위의 ASCII 문자로 구성된 비어 있지 않은 섞인 문자열 입니다.[ 32..126 ][32..126][32..126] 산출 입력 문자열에 연속적인 회전을 적용하여 출력을 얻습니다. [a-zA-Z]입력 문자열의 각 문자 ( )에 대해 왼쪽에서 오른쪽으로 : 문자가 대문자 인 경우 모든 문자를 왼쪽으로 한 위치 씩 회전 문자가 소문자 인 경우 오른쪽 앞의 한 위치 …
22 code-golf  string  code-golf  string  code-golf  string  parsing  brainfuck  code-challenge  python  hello-world  error-message  code-golf  string  code-golf  number  integer  counting  subsequence  code-golf  string  cipher  code-golf  array-manipulation  arithmetic  integer  matrix  code-golf  math  sequence  code-golf  restricted-source  pi  popularity-contest  cops-and-robbers  polyglot  popularity-contest  cops-and-robbers  polyglot  code-golf  file-system  king-of-the-hill  code-golf  number  sequence  integer  rational-numbers  string  code-challenge  source-layout  code-golf  ascii-art  king-of-the-hill  code-golf  array-manipulation  sorting  code-golf  string  code-golf  restricted-source  source-layout  tips  math  code-challenge  permutations  logic-gates  code-golf  number  random  integer  code-golf  math  code-golf  math  number  decision-problem  king-of-the-hill  python  board-game  code-challenge  brainfuck  busy-beaver  code-golf  number  cops-and-robbers  polyglot  obfuscation  answer-chaining  code-golf  number  integer  conversion  code-golf  string  parsing  code-golf  ascii-art  number  king-of-the-hill  javascript  code-golf  source-layout  radiation-hardening  code-golf  array-manipulation  matrix  code-golf  string  graph-theory  code-golf  array-manipulation  decision-problem  code-golf  string  ascii-art  code-golf  string  code-golf  array-manipulation 

14
수요일 수요일
수요일 수요일 당신의 임무는 특정 연도의 주요 날에 해당하는 수요일 수를 계산하는 것입니다. 예를 들어 7-13-16수요일입니다. 일관성을 유지하려면 모든 날짜에 그레고리력을 사용하십시오 . 입력 프로그램 / 기능에 대한 입력은 1 년 (예 :) 2016이며 유연합니다. 연도는 1912 에서 2233 사이의 정수 입니다. 산출 출력도 유연하며 수요일 (예 :)의 수 여야합니다 …

3
인생이 레몬을 줄 때 레모네이드 만들기
도전 당신은 어디 단어, 입력 문자열이 주어집니다 "Lemon"이 변환되어야 발견 "Lemonade" 하지만a , d그리고 e문장에 다른 곳에서 빌려해야합니다. 예 입력 예 : 어렸을 때 레몬을 찾았 어요 출력 예 : 내가 어렸을 때 레모네이드를 찾았 어 레모네이드는 원본에서 다음 첨자 문자를 도용하여 만든 내가 foun D 레모네이드 어 전자 N …
21 code-golf  string  code-golf  parsing  internet  stack-exchange-api  code-challenge  kolmogorov-complexity  restricted-source  brain-flak  python  logic  pyth  code-golf  string  search  optimized-output  code-golf  tips  language-design  golfing-language  code-golf  tips  language-design  code-golf  number  sorting  pi  code-golf  math  number  code-golf  string  balanced-string  classification  brain-flak  code-golf  math  number-theory  decision-problem  code-golf  tips  code-golf  number  sequence  code-golf  balanced-string  brain-flak  code-golf  math  sequence  arithmetic  fibonacci  code-golf  math  parsing  code-golf  string  keyboard  code-golf  code-golf  string  source-layout  whitespace  code-golf  math  rational-numbers  code-golf  string  code-golf  string  code-golf  math  sequence  code-golf  number  floating-point  code-golf  string  decision-problem  subsequence  code-golf  string  kolmogorov-complexity  code-golf  string  permutations  balanced-string  brain-flak  code-golf  string  math  number  code-golf  string  primes  cipher  code-golf  string  ascii-art  chemistry  code-golf  ascii-art  grid  counting  code-golf  math  arithmetic  integer  code-golf  number  kolmogorov-complexity  code-golf  ascii-art  kolmogorov-complexity  sequence  metagolf  brain-flak  code-golf  ascii-art  kolmogorov-complexity  code-golf  string  whitespace 

3
원자 비율의 게임
당신의 작업 은 가장 높은 점수와 아토 마를 재생 봇을 만듭니다 . 게임 작동 방식 : 게임 보드는 6 개의 "원자"고리로 시작하며 숫자 범위는 1~ 사이 3입니다. 원자 자체에 따라 두 원자 사이 또는 다른 원자에서 원자를 "재생"할 수 있습니다. 일반 원자 또는 특수 원자를 가질 수 있습니다. 정상적인 원자 …
21 code-challenge  game  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 

20
저장된 페니는 페니입니다
... 계산! 당신은 달러와 센트로 돈의 양을 나타내는 변수와 동전 값의 배열을 프로그램에 전달할 것입니다. 코드에 전달 된 금액에 합산되는 주어진 코인 값 배열의 가능한 조합 수를 출력해야합니다. 이름이 지정된 동전으로 불가능한 경우 프로그램은을 반환해야합니다 0. 미국의 화폐 용어에 대한 참고 사항 : 1 센트 동전 : 페니 5 센트 …

30
주어진 너비로 #의 빈 사각형을 그립니다.
Codingame 에서이 도전을 받았으며 내 것보다 더 나은 솔루션이 궁금합니다. 표준 입력을 통한 너비가 주어지면 주어진 너비와 길이로 빈 사각형 '#'을 그립니다. 예: 5 결과 ##### # # # # # # ##### 나는 이것을 사용하여 파이썬을 사용하여 다른 파이썬 코드에 특히 관심이 있습니다. 그러나 원하는 언어로 솔루션을 게시하십시오.
21 code-golf  string  ascii-art  number  code-golf  grid  code-golf  string  ascii-art  code-golf  alphabet  cipher  code-golf  math  number  code-golf  quine  code-golf  palindrome  polyglot  code-golf  number  array-manipulation  counting  logic  code-golf  string  primes  binary  decision-problem  code-golf  ascii-art  kolmogorov-complexity  popularity-contest  code-golf  probability-theory  code-golf  string  code-golf  python  polyglot  programming-puzzle  c++  code-golf  math  code-golf  binary  integer  bitwise  code-golf  rational-numbers  code-golf  string  palindrome  code-golf  ascii-art  code-golf  code-golf  string  fibonacci  code-golf  math  sequence  code-golf  code-golf  string  palindrome  code-golf  string  code-golf  math  primes  source-layout  code-golf  sequence  binary  integer  code-golf  math  arithmetic  game  code-golf  restricted-source  palindrome  code-golf  restricted-source  palindrome  code-golf  combinatorics  binary  code-golf  string  math  code-golf  ascii-art  number  code-golf  cipher  code-golf  base-conversion  counting  code-golf  sequence  random  classification  code-golf  string  subsequence  code-golf  permutations  code-golf  string  code-golf  string  cipher  code-golf  kolmogorov-complexity  arithmetic  integer  code-golf  quine  markov-chain  code-golf  string  code-golf  code-golf  ascii-art  maze 

3
장애물 코스는 얼마나 다양합니까?
배경 직사각형 방에 박스를 놓아 간단한 장애물 코스를 만들었습니다. 이제 해결할 수있는 근본적으로 다른 방법의 수를 세고 싶습니다. 그 프로그램을 작성해주세요. 입력 입력은 비어 있지 않은 직사각형 문자 배열입니다 .#. 점 .은 빈 공간이며 #장애물입니다. 장애물 코스를 통과 하는 경로 는 왼쪽 상단에서 시작하여 오른쪽 하단에서 끝나며 오른쪽 또는 아래쪽으로 …


14
이 부분이 잘린 삼각 숫자입니까?
관련 OEIS 시퀀스 : A008867 잘린 삼각형 수 삼각형 숫자의 일반적인 속성은 삼각형으로 배열 할 수 있다는 것입니다. 예를 들어, 21을 취하고 os 의 삼각형으로 정렬하십시오 . 영형 OO ooo oooo ooooo oooooo 각 모서리에서 같은 크기의 삼각형을 자르는 "절단 :"을 정의 해 봅시다. 21을 자르는 한 가지 방법은 다음과 …
20 code-golf  math  decision-problem  number-theory  integer  code-golf  number  decision-problem  functional-programming  code-golf  array-manipulation  matrix  code-golf  string  classification  string  code-challenge  binary  compression  decode  code-golf  string  string  code-challenge  balanced-string  encode  code-golf  number-theory  integer  base-conversion  code-golf  math  number-theory  geometry  abstract-algebra  code-golf  array-manipulation  sorting  optimization  code-golf  math  geometry  image-processing  generation  code-golf  string  cops-and-robbers  repeated-transformation  grammars  cops-and-robbers  repeated-transformation  grammars  code-challenge  restricted-source  tips  source-layout  javascript  code-challenge  kolmogorov-complexity  restricted-source  code-golf  combinatorics  counting  math  fastest-code  linear-algebra  code-golf  math  permutations  matrix  linear-algebra  code-golf  string  decision-problem  restricted-source  code-golf  number  array-manipulation  subsequence  code-golf  number  array-manipulation  matrix  code-golf  brainfuck  code-golf  color  code-golf  quine  source-layout  code-golf  subsequence  code-golf  string  ascii-art  code-golf  string  ascii-art  alphabet  code-golf  decision-problem  interpreter  hexagonal-grid  halting-problem  code-golf  string  polynomials  calculus  code-golf  math  decision-problem  matrix  complex-numbers  code-golf  random  code-golf  number  arithmetic 

21
성냥개비 계산
여기서 대부분의 사람들은 성냥개비 퍼즐에도 사용되는 7 개의 세그먼트 디스플레이에 익숙합니다. 아래는 자리입니다 0통해 9와 문자 a를 통해 z제외시켰다 k,m,t,v,w형식으로 기록 된이. _ _ _ _ _ _ _ _ | | | _| _| |_| |_ |_ | |_| |_| |_| | |_ _| | _| |_| | |_| …

19
Steam 사용자의 평판은 어느 정도입니까? [닫은]
휴무 . 이 질문에는 세부 사항이나 명확성 이 필요 합니다 . 현재 답변을받지 않습니다. 이 질문을 개선하고 싶습니까? 이 게시물 을 편집 하여 세부 사항을 추가하고 문제점을 명확하게하십시오 . 휴일 2 년 전 . 소개 증기에 익숙하지 않은 사람들 또는 적어도이 특정 측면 : 사람들의 프로필에 따라 사람들은 "+ rep …

20
목록의 "재귀 크기"찾기
영감을받은 리스트의 "풀어 크기"를 찾습니다 . 재귀 크기를 정의, RS그 길이가 더리스트를 포함하지 않은리스트 (상품 번호 포함)와 그 길이의 합이 그리스트의 재귀 크기가 어떤 목록을 포함하는리스트의 재귀 크기. 도전 주어진 목록의 재귀 크기를 가능한 한 적은 바이트로 출력하는 프로그램이나 함수를 작성하십시오. 입력은 목록이며 숫자, 문자열 (언어가있는 경우) 및 유사한 목록을 …

16
문자열에서 가장 많이 발생하는 문자를 찾는 프로그램 작성
프로그램은 가장 쌍을 이루는 문자를 출력해야합니다. 예를 들어, 프로그램에 다음 문자열이 제공된 경우 : "Sally's friend Bobby searched for seashells." 두 번 발생 L하기 때문에 출력해야 "ll"하며 이는 다른 쌍보다 더 자주 발생합니다 "bb". 규칙 : 둘 이상의 문자가 1 번째로 발생하는 경우 알파벳 순서로 "Sally's friends Jimmy and Bobby …

27
* 통역사 작성
작업은 간단합니다. 언어에 대한 통역사를 작성하십시오 * . 다음은 위키에 대한 더 큰 링크입니다. 유효한 * 프로그램은 세 가지뿐입니다. * "Hello World"인쇄 * 0과 2,147,483,647 사이의 난수를 인쇄합니다 *+* 영원히 실행됩니다. 세 번째 경우는 이 질문 의 사양에 따라 무한 루프 여야합니다 입력: 입력은 표준 I / O 규칙에 따라 …
20 code-golf  interpreter  code-golf  array-manipulation  sorting  code-golf  halting-problem  code-golf  javascript  code-golf  algorithm  code-golf  arithmetic  code-golf  math  counting  code-golf  math  code-golf  decision-problem  radiation-hardening  code-golf  conversion  bitwise  code-golf  number  decision-problem  code-golf  string  decision-problem  code-golf  random  game  code-golf  ascii-art  graphical-output  code-golf  decision-problem  binary-tree  tree-traversal  code-challenge  array-manipulation  code-challenge  graphical-output  path-finding  test-battery  algorithm  code-golf  integer  factorial  code-golf  binary-tree  code-golf  grid  graph-theory  code-golf  regular-expression  quine  code-golf  encoding  code-golf  king-of-the-hill  javascript 

3
주기적으로 자체 설명 목록을 계산
주기적으로 자체 설명하는 목록 다음 조건이 충족되는 경우 양의 정수 목록 LLL 은 주기적으로 자체 설명 됩니다. LLL 은 비어 있지 않습니다. LLL 의 첫 번째 요소와 마지막 요소 는 다릅니다. LLL 을 동일한 요소의 런으로 분할하면 각 런의 요소는 다음 런의 길이와 같으며 마지막 런의 요소는 첫 번째 런의 …

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