Human Resource Machine

Human Resource Machine

View Stats:
Xorberax Oct 16, 2015 @ 5:43pm
Post solutions to Exclusive Lounge here!
Post your solutions (feel free to post more than one)

I have solved it with this algorithm -- avoiding memory writes:

-- HUMAN RESOURCE MACHINE PROGRAM --

a:
INBOX
JUMPN d
INBOX
JUMPN c
b:
COPYFROM 4
JUMP e
c:
COPYFROM 5
JUMP f
d:
INBOX
JUMPN b
COPYFROM 5
e:
f:
OUTBOX
JUMP a


< >
Showing 1-10 of 10 comments
Xorberax Oct 16, 2015 @ 5:44pm 
Currently working on a more optimized solution.
Vincent Dec 16, 2015 @ 2:02pm 
This one was a tough one, but I finally came up with my solution.

Should be noted while playing that I don't view any guides/walkthrough's or anything etc.
(though after I finish a level I watch Youtuber's play that level, only the levels I've already completed. And that does generate some 'brain power/ideas' for later levels.

And sorry for bumping this post which is two months old, but just feels good after completing this level lol.

I got the speed challenge but not the size challenge:


-- HUMAN RESOURCE MACHINE PROGRAM --

a:
b:
c:
d:
INBOX
JUMPN e
INBOX
JUMPN f
COPYFROM 4
OUTBOX
JUMP d
e:
INBOX
JUMPN g
COPYFROM 5
OUTBOX
JUMP b
f:
COPYFROM 5
OUTBOX
JUMP a
g:
COPYFROM 4
OUTBOX
JUMP c


RAPTOR Jan 17, 2016 @ 10:53am 
Bumping again, got it for size, not speed.
-- HUMAN RESOURCE MACHINE PROGRAM --

a:
INBOX
JUMPN f
INBOX
JUMPN c
b:
COPYFROM 4
JUMP e
c:
d:
COPYFROM 5
e:
OUTBOX
JUMP a
f:
INBOX
JUMPN b
JUMP d


xot Jan 27, 2016 @ 4:01pm 
You just need to tweak the structure to optimize it for speed. A lot of programs can be optimized in this same way.

-- HUMAN RESOURCE MACHINE PROGRAM --

JUMP d
a:
b:
COPYFROM 4
c:
OUTBOX
d:
INBOX
JUMPN e
INBOX
JUMPN f
JUMP b
e:
INBOX
JUMPN a
f:
COPYFROM 5
JUMP c
SquidVicious UK Jun 6, 2016 @ 6:19am 
01: jump to c: // begin
a:
02: copyfrom 4 // pick up the '0'
b:
03: outbox
c:
04: inbox
05: jump (if negative) to d:
06: inbox
07: jump (if negative) to e: // first value was positive, second was negative
08: jump to a: // both values are positive
d:
09: inbox
10: jump (if negative) to a: // both values are negative

// first value was negative, second was positive

e:
11: copyfrom 5 // pick up the '1'
12: jump to b:
pengwnbuster Aug 6, 2016 @ 9:34am 
My solutions for hyper optimization!
Size 11/12:
-- HUMAN RESOURCE MACHINE PROGRAM --

a:
COMMENT 0
INBOX
JUMPN c
INBOX
JUMPN d
b:
COPYFROM 4
JUMP e
COMMENT 1
c:
INBOX
JUMPN b
d:
COPYFROM 5
e:
OUTBOX
JUMP a



Speed 27/28:
-- HUMAN RESOURCE MACHINE PROGRAM --

JUMP d
a:
b:
COPYFROM 5
c:
OUTBOX
d:
COMMENT 0
INBOX
JUMPN f
INBOX
JUMPN b
e:
COPYFROM 4
JUMP c
COMMENT 1
f:
INBOX
JUMPN e
JUMP a



Last edited by pengwnbuster; Aug 6, 2016 @ 9:35am
Lucho Dec 10, 2016 @ 7:18pm 
My solution can suck, but its mine so I dont care

-- HUMAN RESOURCE MACHINE PROGRAM --

a:
b:
c:
d:
INBOX
JUMPN e
COPYFROM 4
COPYTO 0
e:
COPYTO 0
INBOX
JUMPN f
COPYFROM 4
COPYTO 1
f:
COPYTO 1
COPYFROM 0
JUMPZ h
COPYFROM 1
JUMPZ g
COPYFROM 4
OUTBOX
JUMP b
g:
COPYFROM 5
OUTBOX
JUMP c
h:
COPYFROM 1
JUMPZ i
COPYFROM 5
OUTBOX
JUMP a
i:
COPYFROM 4
OUTBOX
JUMP d


jason.goemaat Feb 2, 2018 @ 10:41pm 
Originally posted by Vince:
This one was a tough one, but I finally came up with my solution.

Should be noted while playing that I don't view any guides/walkthrough's or anything etc.
(though after I finish a level I watch Youtuber's play that level, only the levels I've already completed. And that does generate some 'brain power/ideas' for later levels.

And sorry for bumping this post which is two months old, but just feels good after completing this level lol.

I got the speed challenge but not the size challenge:

-- HUMAN RESOURCE MACHINE PROGRAM --

a:
b:
c:
d:
INBOX
JUMPN e
INBOX
JUMPN f
COPYFROM 4
OUTBOX
JUMP d
e:
INBOX
JUMPN g
COPYFROM 5
OUTBOX
JUMP b
f:
COPYFROM 5
OUTBOX
JUMP a
g:
COPYFROM 4
OUTBOX
JUMP c

You can get rid of the f: and g: blocks and move the jumps that go there to the other sections of code that do the same thing and get both challenges.
Reen Jun 17, 2018 @ 3:22pm 
Here is my solution. Spent almost an hour on it.
Size 11/12
Speed 26/28

-- HUMAN RESOURCE MACHINE PROGRAM --

JUMP d
a:
INBOX
JUMPN e
b:
COPYFROM 5
c:
OUTBOX
d:
INBOX
JUMPN a
INBOX
JUMPN b
e:
COPYFROM 4
JUMP c
< >
Showing 1-10 of 10 comments
Per page: 1530 50