Câu hỏi được gắn thẻ «restricted-source»

Áp đặt một hạn chế đối với mã nguồn được sử dụng để giải quyết thách thức, ví dụ, không có số trong mã nguồn.


15
Câu đố Semi-palindrom
Một palindrom là một từ đó là đảo ngược của riêng mình. Bây giờ có một số từ có thể trông giống như palindromes nhưng không. Ví dụ, hãy xem xét từ này sheesh, sheeshkhông phải là một bảng màu bởi vì ngược lại của nó hseehslà khác nhau, tuy …

10
Kiến trên nhật ký tự nhiên
Đây là một thử thách mới bắt đầu tốt và một kẻ giết thời gian tốt. Tôi chỉ nói một bản ghi tự nhiên vì tiêu đề quá ngắn, điều này không liên quan gì đến logarit. Cho 2 biến: Số lượng kiến n. Chiều rộng của bản ghi w. …

28
Hãy đứng trên hàng dài
Gần đây, ai đó đã đề xuất các giới hạn nghiêm ngặt hơn cho độ dài dòng mặc định của Python: Rõ ràng, không có chương trình nào nên sử dụng hơn 80 ký tự trên mỗi dòng, vì nhiều lý do. Trước hết, để dễ đọc và dễ bảo …

15



14
Tái chế cho năm mới
Một giải pháp tốt cho năm 2015 là sống bền vững hơn. Chúng ta sẽ bắt đầu bằng cách tái chế. Mã tái chế, đó là! Nhiệm vụ của bạn là in số 2015sang STDOUT, có hoặc không có dòng mới (và chỉ có vậy). Tuy nhiên, bạn phải làm …



23
Nghệ thuật bát giác ASCII
Cho một số nguyên đầu vào n > 1, xuất ra một hình bát giác nghệ thuật ASCII với độ dài cạnh bao gồm các nký tự. Xem ví dụ dưới đây: n=2 ## # # # # ## n=3 ### # # # # # # # # # …
22 code-golf  ascii-art  code-golf  geometry  code-golf  balanced-string  code-golf  cops-and-robbers  code-challenge  cops-and-robbers  code-golf  code-golf  random  cryptography  code-golf  array-manipulation  number  code-challenge  integer  code-golf  math  integer  code-golf  math  math  parsing  image-processing  test-battery  math  number  combinatorics  fastest-code  code-golf  code-golf  math  number-theory  rational-numbers  polynomials  code-golf  math  geometry  code-golf  code-golf  number-theory  primes  factoring  code-golf  restricted-source  code-golf  string  decision-problem  counting  code-golf  math  sequence  fibonacci  code-golf  array-manipulation  counting  code-golf  array-manipulation  number-theory  code-golf  array-manipulation  code-golf  random  code-golf  string  hexadecimal  code-golf  string  code-challenge  sorting  code-golf  number  floating-point  code-golf  sorting  code-golf  decision-problem  fibonacci  code-golf  number  combinatorics  code-golf  string  code-golf  math  code-golf  electrical-engineering  code-golf  javascript  code-golf  base-conversion  code-golf  array-manipulation  matrix  binary-matrix  code-golf  kolmogorov-complexity  python  perl  ruby  code-golf  number  code-golf  optimization  integer-partitions  code-golf  string  code-golf  ascii-art 

28
Tạo một trình bao bọc từ đơn giản
(Lưu ý: Đây là câu hỏi golf mã đầu tiên của tôi, nhưng theo như tôi có thể nói, không ai khác đã làm chính xác điều này, vì vậy tôi nên làm tốt.) Nhiệm vụ của bạn là tạo ra một chương trình hoặc hàm lấy một chuỗi svà …
22 code-golf  string  code-golf  string  parsing  apl  math  primes  integer  fastest-code  code-golf  math  primes  integer  code-golf  ascii-art  kolmogorov-complexity  code-golf  string  array-manipulation  code-golf  number  code-golf  sequence  code-golf  math  arithmetic  code-golf  date  conversion  code-golf  geometry  combinatorics  grid  code-golf  string  code-golf  counting  java  code-golf  chess  code-golf  path-finding  conversion  atomic-code-golf  logic-gates  code-golf  fibonacci  code-golf  ascii-art  fractal  code-golf  quine  code-golf  string  code-golf  array-manipulation  decision-problem  code-golf  quine  code-golf  code-challenge  array-manipulation  code-challenge  word-search  code-golf  binary  conversion  code-golf  code-golf  restricted-source  code-golf  kolmogorov-complexity  restricted-source  code-golf  kolmogorov-complexity  random  animation 

24
Một thách thức ogl-edocf
Đầu vào Một chuỗi xáo trộn không trống bao gồm các ký tự ASCII trong phạm vi .[32..126][32..126][32..126] Đầu ra Đầu ra thu được bằng cách áp dụng các phép quay liên tiếp vào chuỗi đầu vào. Đối với mỗi chữ cái ( [a-zA-Z]) trong chuỗi đầu vào, đi từ …
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 

30
Lấy số n chữ số ngẫu nhiên có chữ số riêng biệt và đầu tiên không phải là 0
Tôi đọc câu hỏi này và nghĩ rằng nó sẽ tạo ra một thử thách thú vị. Bài tập Đưa ra một đầu vào 0<n<10tạo một số ngẫu nhiên với chính xác n chữ số đầu tiên không phải là một 0 vì thế f(n)>10**(n-1)-1 chữ số riêng biệt Tiêu …
22 code-golf  number  random  grid  game  king-of-the-hill  javascript  code-golf  arithmetic  statistics  code-golf  math  code-golf  math  code-golf  string  palindrome  code-golf  string  interactive  code-golf  quine  polyglot  code-golf  string  stack-exchange-api  code-golf  number-theory  decision-problem  code-golf  tips  code-golf  string  internet  code-golf  graphical-output  image-processing  fractal  code-golf  ascii-art  geometry  hexagonal-grid  code-golf  string  restricted-source  hello-world  code-golf  game  code-golf  cipher  code-golf  permutations  cops-and-robbers  permutations  cops-and-robbers  code-golf  internet  stack-exchange-api  code-golf  ascii-art  random  code-golf  tips  code-golf  ascii-art  code-golf  code-golf  kolmogorov-complexity  code-golf  string  unicode  code-golf  number  sequence  primes  palindrome  code-golf  game  decision-problem  code-golf  math  geometry  code-golf  graphical-output  interactive  code-golf  set-partitions  code-golf  number  arithmetic  restricted-source  code-golf  decision-problem  python  recursion  code-golf  ascii-art  code-golf  source-layout  code-golf  function  recursion  functional-programming  code-golf  game  combinatorics  permutations  code-golf  string  file-system  code-golf  string  hashing  code-golf  stack-exchange-api  code-golf  string  code-golf  math  number  arithmetic  polyglot 


Khi sử dụng trang web của chúng tôi, bạn xác nhận rằng bạn đã đọc và hiểu Chính sách cookieChính sách bảo mật của chúng tôi.
Licensed under cc by-sa 3.0 with attribution required.