«parsing» 태그된 질문

이 태그는 구문 분석 입력이 챌린지의 큰 부분 인 챌린지를 나타냅니다.

13
비교 체인 확장
대부분의 언어와는 달리, 파이썬은 평가 a<b<c부울 비교에 반대가 실제로 세 개의 숫자를 비교, 수학에서 할 것처럼 a<b로를 c. 이것을 C (및 다른 많은 것)로 쓰는 올바른 방법은입니다 a<b && b<c. 이 도전에서, 당신의 임무는 파이썬 / 직관적 인 표현에서 다른 언어로 쓰여지는 방법으로 임의 길이의 비교 체인을 확장하는 것입니다. 명세서 …
9 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 

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 

14
증가, 감소, 없음 또는 모두?
두 개의 입력, 숫자가 포함 된 비어 있지 않은 벡터 / 목록을 가지고 1와 2및 문자열을 (아니, 당신이 취할 수 없습니다 0/1대신). 문자열은 다음 중 하나입니다 (소문자로 정확히 아래에 적어 놓은대로). increasing decreasing ones twos all none 문자열이 ____이면 인덱스 ___을 반환해야합니다. increasing... 목록의 변경 사항 1을 2(매 2직후 이하 …

11
순서 n까지 변수 그룹의 모든 조합 생성
사양 주어진 m변수는 순서대로 모든 조합을 만듭니다 n. 예를 들어 두 변수 ( a및 b)를 순서대로 매핑 한 결과는 다음 과 1같습니다. ㅏ 비 ab 두 변수 ( a및 b)를 순서대로 매핑 한 결과는 다음 과 2같습니다. ㅏ 2 비 b 2 ab 2 B ab 2 a 2 b …

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 

3
키 언어 입력 구문 분석 및 처리
키 언어를 구문 분석하고 처리합시다! 일련의 키보드 키 누르기 및 / 또는 특수 키를 입력하면 다음 키보드를 기반으로 모든 작업이 처리 될 때 제품을 출력하는 프로그램, 기능 등을 작성하십시오. +-------------------------------------------------------+ | ~ | ! | @ | # | $ | % | ^ | & | * | ( …

5
DCSS 영안실 파일 파서
이 챌린지에서 로그 라이크 같은 게임 Dungeon Crawl Stone Soup 의 자료실 파일을 구문 분석 하여 STDOUT으로 출력해야합니다. 이 영안실 파일은 무엇입니까 ?? 당신이 죽으면, 그 캐릭터의 데이터가 들어있는 텍스트 파일이 생성됩니다. 캐릭터가 가진 장비, 지난 몇 차례 동안 일어난 일 및 그가 죽인 몬스터의 수를 볼 수 있습니다. 영안실 …

1
어디에서 왔습니까?
INTERCAL은 훌륭한 언어이지만 다른 사람들의 코드를 이해하는 것이 항상 쉬운 것은 아닙니다. COME FROM 문을 사용하는 경우에 특히 그렇습니다. 도전 정의 INTERCAL 프로그램의 소스 코드를 텍스트 / 데이터 스트림으로 사용 하는 프로그램 또는 함수 를 작성하십시오 . 함수를 작성하는 경우 함수를 호출하는 프로그램도 제공하는 것이 좋지만 점수에는 포함되지 않습니다. 기능 …

5
간단한 태그 파서
이것은 용서하는 HTML 파서의 모델입니다. 이 코드 골프에서 HTML을 파싱하고 속성을 추출하는 대신 태그 파서는 간단합니다. 태그 구조를 구문 분석하고 괄호 형식을 반환하는 함수를 작성하십시오. 여는 태그는 하나의 소문자로 구성되고 닫는 태그는 하나의 대문자로 구성됩니다. 예를 들어 aAbaAB로 (a)(b(a))또는 HTML 로 구문 분석 <a></a><b><a></a></b>합니다. 물론, 태그는 병치 및 중첩 될 …
당사 사이트를 사용함과 동시에 당사의 쿠키 정책개인정보 보호정책을 읽고 이해하였음을 인정하는 것으로 간주합니다.
Licensed under cc by-sa 3.0 with attribution required.