«number» 태그된 질문

이 문제는 사용, 조작, 입력으로 수락 또는 숫자 값을 출력하여 해결하기위한 것입니다.

30
나는 너에게 충분하지 않니?
배경: 현재 퍼펙트 넘버 챌린지 는 숫자 의 요소를 포함하는 복잡한 형식으로 출력하도록 요구하기 때문에 다소 결함이 있고 복잡합니다. 이것은 도전에 대한 순전 한 결정 문제의 재 포스트입니다. 도전 표준 입력 형식을 통해 양의 정수가 주어지면 완벽 여부를 구별하십시오. 완전 숫자는 모든 적절한 제수의 합과 동일한 숫자입니다 (양수의 제수 자체보다 …

25
이진 트위스트와 회문 번호
경고 : 이것은 "이봐, 아스키 아트로 케이크를 그려 보자"도전이 아닙니다! 계속 읽으십시오;) 얼마 전 내 생일이었고 지금 33 살입니다. 그래서이 어색한 사회적 전통은 가족과 친구들을 초대하고 케이크에 숫자 같은 양초를 넣고 노래를 부르고 선물을 열어주는 것으로 구성되어 있습니다. 33 -------- 숫자 대신 이진법을 사용하여 표준 양초를 넣을 수 있습니다. 나는 …

28
연결 계산
당신의 도전은 작성하는 것입니다 N의 첫 번째 연결할 때 등, 그 코드의 조각을 K 함께 ≥ 1, 그들은 숫자 생산 K를 . N 이 높을수록 좋습니다. 다음은 캐치입니다. 스 니펫에서 문자를 두 번 이상 사용할 수 없습니다. 규칙 하나의 스 니펫에서 동일한 문자를 여러 번 사용할 수 있습니다. 이 스 …

29
치킨 맥 너겟 번호
기술 Chicken McNugget 숫자는 McDonald 's가 판매 한 유명한 Chicken McNuggets 상자 의 초기 크기 인 6, 9 또는 20의 합계로 표현할 수있는 숫자입니다 . 그 합계에서, 숫자는 두 번 이상 발생할 수 있으며, 6 + 6 = 12그러한 숫자도 마찬가지이며, 숫자는 언급 된 크기 중 적어도 하나를 포함해야합니다. 최초의 …

26
계단 번호
계단 수는 양의 정수 x 이므로 n 번째 자릿수 (최하위 자릿수로 시작하는 인덱스)는 x % (n + 1)과 같습니다 . 그것은 약간 한 입이므로 예제를 살펴 보겠습니다. 가지고 7,211,311을 우리의 모듈 잔류 가지고가는 경우에, 7,211,311을 우리는 다음을 얻을 범위 2-8 : 7211311 % 2 = 1 7211311 % 3 = …

30
Sphenic Number입니까?
Sphenic Number는 정확히 3 개의 소수로 구성된 숫자입니다. 처음 몇 개의 Sphenic 숫자는 30, 42, 66, 70, 78, 102, 105, 110, 114입니다. OEIS의 시퀀스 A007304 입니다. 당신의 작업 : 입력 된 정수가 Sphenic 숫자인지 판별하는 프로그램 또는 함수를 작성하십시오. 입력: 0과 10 ^ 9 사이의 정수이며, Sphenic Number 일 수도 …

16
가능한 한 많은 숫자로 증가하는 순서를 채우십시오
숫자 목록을 단조 증가 (또는 비 감소)라고하며 모든 요소가 이전 요소보다 크거나 같습니다. 예를 들어 1, 1, 2, 4, 5, 5, 5, 8, 10, 11, 14, 14단조 증가하고 있습니다. 로 표시된 임의의 수의 빈 ?스폿을 갖는 양의 정수 목록이 단조 증가하는 경우, 가능한 많은 고유 정수가 목록에 존재하도록 빈 스폿을 …

23
n에서 가장 큰 수의 n 위치 찾기
이 질문 의 속편 . 태스크 양의 정수 배열이 주어지면 가장 큰 요소 k 를 찾으십시오 . 존재 어떤 양의 정수 거리 , n은 어레이의 요소가 위치되도록, 해당 장소가 왼쪽 또는 오른쪽에서 k는 동일 없음 . 배열은이 조건을 만족시키는 요소를 하나 이상 포함합니다. 가장 짧은 코드 (바이트)가 이깁니다. 원하는 I …

28
수퍼 로그 계산
이것은 간단한 도전이어야합니다. 숫자 감안할 때 n >= 0, 출력 슈퍼 로그 (로그 - 스타 또는 로그 *를, 또는 로그 반복 하기 때문에 동일, n이 문제에 대한 부정적인 결코합니다.)의 n. 이것은 tetratation 에 대한 두 가지 역함수 중 하나입니다 . 다른 하나는 관련 질문 에있는 수퍼 루트 입니다. 예 Input …
29 code-golf  math  code-golf  array-manipulation  sorting  code-golf  math  arithmetic  matrix  code-golf  string  kolmogorov-complexity  code-golf  string  code-golf  math  sequence  arithmetic  recursion  code-golf  math  ascii-art  sequence  code-golf  math  array-manipulation  code-golf  code-golf  kolmogorov-complexity  code-golf  string  code-golf  string  decision-problem  code-golf  array-manipulation  tips  javascript  json  code-golf  math  string  number  number-theory  code-golf  math  sequence  fibonacci  number  arithmetic  fastest-code  integer  code-golf  math  sequence  code-golf  string  file-system  tips  golfscript  code-golf  string  code-golf  string  natural-language  code-golf  string  file-system  code-golf  math  array-manipulation  code-challenge  image-processing  compression  code-golf  math  number  sequence  code-golf  math  combinatorics  regular-expression  code-golf  sequence  pi  code-golf  ascii-art  code-golf  string  array-manipulation  sorting  code-golf  string  graph-theory  code-golf  string  code-golf  string  ascii-art  code-challenge  compression  code-golf  code-golf  math  sequence  number-theory  code-golf  maze  graph-theory  code-golf  math  sequence 

13
키보드 친화적 인 숫자 생성
가장 일반적인 컴퓨터 키보드 레이아웃 에는 10 진수 키가 있습니다. 1234567890 글자 키 위를 따라 달려갑니다. 10 진수의 이웃 은 자릿수 키와 숫자 키 (왼쪽 및 오른쪽) (있는 경우)의 자릿수로 설정합니다. 예를 들어, 이웃은 0이고 {0, 9}이웃은 5입니다 {4, 5, 6}. 이제 키보드 친화적 인 숫자 를 양의 정수 (앞의 …

19
기본 바이너리에 관한 모든 것
퍼니 제목을 변명하십시오. 이 질문은 82000의 흥미로운 속성에서 영감을 얻은 것 입니다. 이 글에서 저자는 82000은 2, 3, 4, 5의 이진수라고 설명합니다. 그러면 게시물은 "2, 3, 4, 5, 6의 이진수 인 숫자가 있습니까?"라는 질문을 제기합니다. "? (호기심 많은 사람들을 위해 최대 10 ^ 1,000,000까지의 값을 확인했으며 지금까지는 대답이 아니오입니다.) 이것은 …

23
회전 안전 번호 인쇄
배경 일부 보드 게임 제조업체에서 일하고 있으며 일부 게임의 경우 0에서 n 까지 숫자가 새겨진 나무 타일을 생산해야합니다 . 그러나 더 이상 고민하지 않으면 일부 타일은 구분할 수 없게됩니다 (예 : 6및) 9. 이를 방지하려면, 당신은 명확하게하는 점, 예를 들면와 (과 만) 다른 사람과 혼동 할 수있는 숫자를 장착해야합니다, 당신은 …
29 code-golf  number 

30
똑똑한 사람의 신기루
옛날 옛적에, 나는 Quora 에서이 질문 / 답변을 읽고있었습니다. FizzBuzz 테스트를 통과 할 수없는 컴퓨터 공학 학위를 가진 프로그래머가 있습니까? 이 코드는 명백한 답변으로 제공됩니다 for i in range(1, 100): if i % 3 == 0 and i % 5 == 0: print "FizzBuzz" elif i % 3 == 0: …
29 popularity-contest  code-challenge  word  popularity-contest  string  grid  language-design  code-golf  source-layout  math  fastest-algorithm  assembly  code-golf  json  code-golf  arithmetic  array-manipulation  code-golf  ascii-art  code-golf  crossword  code-golf  string  restricted-complexity  code-golf  ascii-art  kolmogorov-complexity  code-golf  string  decision-problem  balanced-string  syntax  code-golf  grid  puzzle-solver  hexagonal-grid  code-golf  math  number  sequence  code-golf  string  decision-problem  code-golf  cryptography  king-of-the-hill  code-challenge  fastest-code  code-golf  number  code-golf  code-golf  string  code-golf  cryptography  king-of-the-hill  java  code-golf  number-theory  base-conversion  code-golf  code-golf  array-manipulation  code-golf  array-manipulation  sorting  code-challenge  restricted-source  quine  code-golf  tips  python  king-of-the-hill  code-golf  source-layout  fractal  code-golf  tips  game  king-of-the-hill  path-finding  grid  code-golf  kolmogorov-complexity  natural-language  code-golf  tips  python  code-golf  number  arithmetic  sequence  array-manipulation  code-golf  number  combinatorics  random  integer-partitions  code-golf  string  code-golf  vim  comment  code-golf  combinatorics  counting  code-challenge  rosetta-stone  code-golf  combinatorics  sequence  subsequence  code-golf  code-challenge  restricted-source  primes  printable-ascii  popularity-contest  graphical-output  image-processing 

23
이진 숫자 마술
도전은 간단하다. 다음 6 개의 2D 정수 배열을 출력합니다. [[ 1, 11, 21, 31, 41, 51], [ 3, 13, 23, 33, 43, 53], [ 5, 15, 25, 35, 45, 55], [ 7, 17, 27, 37, 47, 57], [ 9, 19, 29, 39, 49, 59]] [[ 2, 11, 22, 31, 42, …

6
도움! 계산기가 오작동합니다!
소개 계산기가 이상하게 작동합니다. 때로는 내가 입력하면가 8표시됩니다 2. 때로는 입력하면 a 6가 표시됩니다 +. 일부 버튼이 섞여 있습니다! 아무도 나를 결정하는 데 도움을 줄 수 있습니까? 도전: 입력 : 올바른 결과 가있는 잘못된 방정식 목록 . 출력 : 교체 된 두 개의 버튼. 예를 들면 다음과 같습니다 . 입력은 …
28 code-golf  number  arithmetic  integer  code-golf  math  number  geometry  code-golf  grid  code-golf  math  number  sequence  primes  code-golf  sequence  kolmogorov-complexity  code-golf  string  ascii-art  alphabet  code-golf  math  sequence  integer  code-golf  number-theory  integer  natural-language  code-golf  date  code-golf  function  code-golf  ascii-art  code-golf  math  number-theory  primes  classification  code-golf  array-manipulation  decision-problem  matrix  code-golf  number  code-golf  code-golf  ascii-art  matrix  code-golf  string  code-golf  sequence  base-conversion  code-golf  code-golf  math  number-theory  combinatorics  integer-partitions  code-golf  integer  binary  base-conversion  code-golf  integer  base-conversion  palindrome  code-golf  code-golf  integer-partitions  code-golf  math  ascii-art  matrix  code-golf  number  sequence  number-theory  matrix  code-golf  interpreter  code-golf  graph-theory  code-golf  ascii-art  decision-problem  code-golf  division  code-golf  array-manipulation  primes  code-golf  string  ascii-art  code-golf  primes  counting  code-golf  matrix  unicode  code-golf  source-layout  code-golf  grammars  code-golf  string  cops-and-robbers  regular-expression  obfuscation  string  code-challenge  cops-and-robbers  regular-expression  code-golf  kolmogorov-complexity  game  card-games  code-golf  kolmogorov-complexity  code-golf  array-manipulation  matrix  code-challenge  cops-and-robbers  code-challenge  decision-problem  cops-and-robbers  code-golf  permutations 

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