Trending questions
14,499 questions
2 votes
0 answers
351 views
Console Role Playing Game [closed]
Below are a basic set of requirements. The following commands (for an interface to the game): ...
2 votes
1 answer
153 views
Five aligned points and some of the pairwise distances. Infer the relative positions! [closed]
Given five points on a straight line such that their pairwise distances are 1,2,4, ..., 14,18,20 (after ordering), find the respective positions of the five points (relative to the furthest point on ...
1 vote
0 answers
283 views
Proving the shortest quine in a particular language [duplicate]
Possible Duplicate: Golf you a quine for great good! People have proposed short quines in various languages. Puzzle: Find the shortest non-trivial quine in a language of your choice, and prove ...
-8 votes
16 answers
585 views
"Hello, name!"; [duplicate]
Challenge Your challenge is to make a simple program that takes the [input] and formats it as "Hello, [input]!" Input Either a function call variable or STDIN, this is the name. Can contain any ...
-12 votes
28 answers
783 views
What are these letters?
So what might be the shortest language for this simple task? Task: You are given an input of type String - the string is a ...
-13 votes
23 answers
1k views
Divide one number by another
Challenge Given two numbers, output their quotient. In other words, integer divide one number by another. Both divisor/dividend will be under 10001. Division must be performed using integer division,...
-14 votes
21 answers
618 views
Sequence and Series
Use any programming language to display numbers divisible by 1000000 that are greater than 1 and less than 10000000. Each number should be displayed in new line. Your program should display exactly: <...
-20 votes
30 answers
3k views
Reverse a 1-dimensional array
Note: This challenge is not the same. Challenge Believe it or not, we haven't got ONE challenge for reversing one-dimensional arrays (although we've got one for n-dimensional ones)! This should ...
-25 votes
57 answers
4k views
Test if two numbers are equal
Challenge Input two integers. Integer I/O must be decimal. If the integers are equal, output a truthy value. Otherwise, output a falsy value. Clarifications You will never receive non-integer inputs. ...