Vexedly
|
  |
| Joined: 15 Sep 2006 |
| Total Posts: 7011 |
|
| |
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 07 Jan 2014 10:09 PM |
local a = string.byte("a") local b = string.byte("b") local c = string.byte("c") local e = string.byte("e")
local zero = a - a local one = b - a local two = c - a local four = e - a
print(two, zero, one, four) |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 07 Jan 2014 10:10 PM |
or
print(""..two..zero..one..four) |
|
|
| Report Abuse |
|
|
|
| 07 Jan 2014 10:10 PM |
grr cnt beat me
i didnt know any ascii codes so I had to go print them |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 07 Jan 2014 10:10 PM |
| You don't need to know it, you just really need to know that "B" comes after "A" by 1 =D |
|
|
| Report Abuse |
|
|
Absurdism
|
  |
| Joined: 18 Jul 2013 |
| Total Posts: 2568 |
|
| |
|
Vexedly
|
  |
| Joined: 15 Sep 2006 |
| Total Posts: 7011 |
|
| |
|
LetUsGame
|
  |
| Joined: 09 Nov 2013 |
| Total Posts: 199 |
|
| |
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
| |
|
Vexedly
|
  |
| Joined: 15 Sep 2006 |
| Total Posts: 7011 |
|
| |
|
Vexedly
|
  |
| Joined: 15 Sep 2006 |
| Total Posts: 7011 |
|
| |
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 07 Jan 2014 10:32 PM |
Not the shortest but w/e
one = math.sin(math.pi/2) print(one+one .. one-one .. one ..one+one+one+one) |
|
|
| Report Abuse |
|
|
Absurdism
|
  |
| Joined: 18 Jul 2013 |
| Total Posts: 2568 |
|
|
| 07 Jan 2014 10:33 PM |
| print((tonumber('AC', #'HAPPY NEW YEAR! ')+tonumber('B', #'HAPPY NEW YEAR! ')) * tonumber('B', #'HAPPY NEW YEAR! ')) |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 07 Jan 2014 10:34 PM |
m=math o=m.abs(m.cos(m.pi)) t=o+o print(t..o-o..o..t+t) |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 07 Jan 2014 10:36 PM |
| Less than 30, time to think |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 07 Jan 2014 10:40 PM |
| Do we have to do 2014 or does 2 0 1 4 work? (Arguments for print) |
|
|
| Report Abuse |
|
|
Vexedly
|
  |
| Joined: 15 Sep 2006 |
| Total Posts: 7011 |
|
| |
|
Vexedly
|
  |
| Joined: 15 Sep 2006 |
| Total Posts: 7011 |
|
| |
|
LetUsGame
|
  |
| Joined: 09 Nov 2013 |
| Total Posts: 199 |
|
|
| 07 Jan 2014 10:45 PM |
a=#'aa' print(a..a-a..a/a..a+a) |
|
|
| Report Abuse |
|
|
Absurdism
|
  |
| Joined: 18 Jul 2013 |
| Total Posts: 2568 |
|
|
| 07 Jan 2014 10:46 PM |
| q=#'HAPPYNEWYEAR...!';t=tonumber;b=t('B',q)print((t('AC',q)+b)*b) |
|
|
| Report Abuse |
|
|
Vexedly
|
  |
| Joined: 15 Sep 2006 |
| Total Posts: 7011 |
|
| |
|
LetUsGame
|
  |
| Joined: 09 Nov 2013 |
| Total Posts: 199 |
|
| |
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 07 Jan 2014 10:50 PM |
Damnit I was close
o=#"a" t=o+o print(t..o-o..o..t+t) |
|
|
| Report Abuse |
|
|
robomax11
|
  |
| Joined: 07 Jul 2011 |
| Total Posts: 6828 |
|
| |
|
Absurdism
|
  |
| Joined: 18 Jul 2013 |
| Total Posts: 2568 |
|
|
| 07 Jan 2014 11:16 PM |
t=tonumber s=('$'):byte()print(t('FJG',s)/t('A',s)) |
|
|
| Report Abuse |
|
|