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.




2
X lớn hơn 3 với ít nhất 2 chênh lệch giữa X và Y
Tôi đang cố gắng để chơi golf xuống C ++. Có thể làm cho điều kiện này ngắn hơn? X > 3 & X - Y > 1 (Tất nhiên, ngoài việc loại bỏ khoảng trắng, tất nhiên.) Vì vậy, Xlà ít nhất 4nhưng X >= Y + 2. Xvà …
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 

13
Trình tự nhìn và nói không có điểm
Bạn cũng tạo ra một chương trình lấy một số nguyên làm đầu vào và đầu ra đầu tiên cho dù số đó là của chuỗi nhìn và nói . Ví dụ: $ ./LAS 8 [1,11,21,1211,111221,312211,13112221,1113213211] Cách chính xác bạn xuất danh sách là không quan trọng, miễn là người …

30
Số vòng quay
Bài tập Viết hàm hoặc chương trình để tìm số vòng quay cần thiết của một bánh xe để đi được một khoảng cách nhất định, với bán kính của nó. Quy tắc Đầu vào có thể là 2 số hữu tỷ dương và có thể được lấy ở bất …


6
Các số là palindromes trong N căn cứ
Cho một số nguyên không âm n >= 0, xuất ra mãi mãi chuỗi số nguyên x_i >= 3là các palindrome trong ncác cơ sở chính xác khác nhau b, trong đó cơ sở có thể 2 <= b <= x_i-2. Về cơ bản, đây là nghịch đảo của OEIS …
10 code-golf  sequence  base-conversion  palindrome  code-golf  array-manipulation  matrix  code-golf  string  ascii-art  code-golf  ascii-art  physics  code-golf  number  sequence  fibonacci  code-golf  ascii-art  packing  code-golf  string  hexadecimal  code-challenge  restricted-source  decision-problem  binary  code-golf  code-golf  code-golf  stack-exchange-api  code-golf  string  parsing  generation  data-structures  code-golf  kolmogorov-complexity  graphical-output  code-golf  array-manipulation  integer  generation  data-structures  code-golf  number  random  probability-theory  king-of-the-hill  java  minesweeper  code-golf  string  kolmogorov-complexity  animation  code-golf  string  code-golf  code-golf  quine  code-golf  internet  code-golf  arithmetic  base-conversion 

3
C # là vấn đề chính
Câu đố lập trình này được lấy cảm hứng từ một câu hỏi khác đã được hỏi ở đây ngày hôm qua nhưng đã bị xóa bởi tác giả ... Các thách thức: Tạo tệp nhị phân thực thi (Windows .EXE hoặc Linux nhị phân) bằng Visual C # (hoặc …

7
Code-Golf: Trình tự Farey (I)
Thử thách Trong tác vụ này, bạn sẽ được cấp một số nguyên N (nhỏ hơn 10 ^ 5), xuất chuỗi Farey theo thứ tự N. Đầu vào N được cho trong một dòng duy nhất, đầu vào được kết thúc bằng EOF. Đầu vào 4 3 1 2 Đầu …
10 code-golf  math  code-golf  math  code-golf  number  number-theory  code-golf  math  arithmetic  repeated-transformation  code-golf  geometry  popularity-contest  code-golf  code-golf  tips  haskell  math  fastest-algorithm  code-golf  combinatorics  code-golf  math  polynomials  rational-numbers  code-golf  code-golf  popularity-contest  javascript  code-golf  kolmogorov-complexity  code-golf  code-golf  math  combinatorics  permutations  code-challenge  restricted-source  random  array-manipulation  code-challenge  generation  code-golf  code-golf  ascii-art  arithmetic  division  code-challenge  number  code-golf  math  number  binary  code-golf  ascii-art  code-golf  interpreter  stack  code-golf  internet  networking  code-golf  math  code-golf  ascii-art  code-golf  math  sequence  code-golf  hello-world  restricted-source  code-golf  ascii-art  code-golf  geometry  code-golf  kolmogorov-complexity  pi  code-golf  math  combinatorics  permutations  code-golf  math  code-challenge  ascii-art  code-golf  string  code-golf  quine  code-golf  math  floating-point  golfscript  code-golf  string  code-golf  sliding-puzzle  code-challenge  arithmetic  code-golf  math  code-golf  geometry  optimized-output 

2
Lời khuyên cho việc chơi golf trong The Powder Toy
Hãy vui vẻ với điều này, The Powder Toy là một thử thách thú vị cho golf, đặc biệt là với logic lọc. Điều khiến TPT trở thành một thách thức là rất nhiều cách để tiếp cận một vấn đề: Should I use Cellular Automaton rules, SWCH logic, Filt …
9 code-golf  tips  the-powder-toy  code-golf  number  array-manipulation  integer  code-golf  string  decision-problem  boggle  code-golf  array-manipulation  average  code-golf  math  code-golf  decision-problem  restricted-source  code-golf  code-golf  math  primes  code-golf  random  code-golf  tips  perl  code-golf  string  parsing  code-golf  math  number  decision-problem  code-golf  math  number  code-golf  string  alphabet  code-golf  math  geometry  code-golf  interpreter  brainfuck  code-golf  code-golf  decision-problem  boggle  code-golf  math  number  sequence  code-golf  math  code-golf  ascii-art  code-challenge  restricted-source  quine  code-golf  math  decision-problem  number-theory  primes  code-golf  ascii-art  code-golf  integer  graph-theory  chess  code-golf  math  interpreter  code-golf  code-golf  code-golf  ascii-art  code-golf  arithmetic  number-theory  code-golf  string  kolmogorov-complexity  code-golf  string  decision-problem  code-golf  primes  factoring  encode  code-golf  decision-problem  code-golf  geometry  grid  code-golf  quine  code-golf  matrix  code-golf  matrix  code-golf  code-golf  number  array-manipulation  code-golf  array-manipulation  sorting  code-golf  matrix  code-golf  brain-flak 





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.