Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.
in: a list of words
out: a legal arrangement for the word on a scrabble board, print an error message if it is impossible.
rule:
- 1st word is places horizontally, the 2nd vertically...
- a word doesn't touch another word (except if it use a letter of this word)
- the next word use the first possible letter of the latest word. for example with "example" and "sample", "sample" must use the 1st letter 'e'.
see input/output for more example
exec is denied
now post-mortem time, all source codes will be revealed
one two three for five seven eight ten eleven twelve hundred thousand million billion
s t
eight w
v eleven
five n l
o n v
three hundred
w
one
/* error with thousand */
scrabble better destroy execute electric test sample immortal psychology essay nearby natural counter alphabet serial killer labeled
scrabble
e
destroy
x t
electric
c r e m
k u sample
i t t o
laleled r
l t
serial e a
r l psychology
p s
h a
nearby
a b
t e
counter
r
a
l
english french waterfall snowman nowhere active easy yesterday rewrite trilogy god altitude user restaurant error realise special initial bargain keylog
l
y t l
rewrite
s i i
t l t r
e o user
r god s
d y e t
a a
easy u
c error
t a e
i n a
s v t l
nowhere i k
o special
waterfall e y n
m r l i
a english o t
n n bargain
c a
h l
| Rank | User | Size | Time | Date | Statistics |
|---|---|---|---|---|---|
| 1 | brx | 904 | 0.0340 | 2013/01/22 03:09:14 | 63B / 336B / 36B |
| Rank | User | Size | Time | Date | Statistics |
|---|---|---|---|---|---|
| 1 | twobit | 366 | 0.0563 | 2013/01/31 01:39:14 | 21B / 160B / 151B |
| 2 | rolf | 999 | 0.0981 | 2013/01/30 07:33:36 | 0B / 492B / 334B |
| Rank | User | Size | Time | Date | Statistics |
|---|---|---|---|---|---|
| 1 | g33k | 802 | 0.0420 | 2013/01/30 10:29:54 | 53B / ?B / ?B |
| Rank | User | Size | Time | Date | Statistics |
|---|---|---|---|---|---|
| 1 | nooodl | 769 | 0.0610 | 2013/01/30 03:19:20 | 50B / ?B / ?B |
| Rank | Lang | User | Size | Score |
|---|---|---|---|---|
| 1 | Python | twobit | 366 | 10000 |
| 2 | GolfScript | nooodl | 769 | 4759 |
| 3 | Brainfuck | g33k | 802 | 4563 |
| 4 | Perl | brx | 904 | 4048 |