Human Resource Machine

1. Mail Room

INBOX
OUTBOX
INBOX
OUTBOX
INBOX
OUTBOX

2. Busy Mail Room

a:INBOX   OUTBOX  JUMP     a

3. Copy Floor

​ BUG→OUTBOX

​ 0. U; 1. J; 2. X; 3. G; 4. B; 5. E;

COPYFROM 4
OUTBOX
COPYFROM 0
OUTBOX
COPYFROM 3
OUTBOX

4. Scrambler Handler 取反

Grab the first TWO things from the INBOX and drop them into OUTBOX in the reverse order. Repeat until the INBOX is empty.

In→A&B ; Out→B&A.

a:INBOX   COPYTO   0INBOX   COPYTO   1COPYFROM 1OUTBOX  COPYFROM 0OUTBOX  JUMP     a

6. Rainy Summer 加法

For each two things in the INBOX, add them together, and put the result in the OUTBOX.

In→A&B ; Out→(A + B).

a:INBOX   COPYTO   0INBOX   ADD      0OUTBOX  JUMP     a

7. Zero Exterminator 取非零

Send all things that ARE NOT ZERO to the OUTBOX

a:
b:INBOX   JUMPZ    bOUTBOX  JUMP     a

8.Tripler Room 取三倍

For each thing in the INBOX, TRIPLE it.

a:INBOX   COPYTO   0ADD      0ADD      0OUTBOX  JUMP     a

9. Zero Preservation Initiative 取零值

Send only the ZEROs to the OUTBOX.

 JUMP     b
a:OUTBOX
b:
c:INBOX   JUMPZ    aJUMP     c

10. Octoplier Suite 乘8算法

For each thing in the INBOX, multiply it by 8, and put the result in the OUTBOX.

a:INBOX   COPYTO   0ADD      0COPYTO   1ADD      1COPYTO   2ADD      2OUTBOX  JUMP     a

11. Sub Hallway 减法

For each two things in the INBOX, first subtract the 1st from the 2nd and put the result in the OUTBOX. AND THEN, subtract the 2nd from the 1st and put the result in the OUTBOX. Repeat.

In→A&B ; Out→(B - A)&(A - B).

a:INBOX   COPYTO   0INBOX   COPYTO   1SUB      0OUTBOX  COPYFROM 0SUB      1OUTBOX  JUMP     a

12. Tetracontiplier 乘40算法

For each thing in the INBOX, multiply it by 40, and put the result in the OUTBOX.

a:INBOX   COPYTO   0ADD      0COPYTO   1ADD      1COPYTO   2ADD      2COPYTO   3ADD      3COPYTO   4ADD      4ADD      3OUTBOX  JUMP     a

13. Equalization Room 取等值

Get two things from the INBOX. If they are EQUAL, put ONE of them in the OUTBOX. Discard non-equal pairs. Repeat!

In→A&B ; IF A==B; Out→A or B.

 JUMP     b
a:COPYFROM 0OUTBOX
b:
c:INBOX   COPYTO   0INBOX   SUB      0JUMPZ    aJUMP     c

14. Maximization Room 取大值

Grab TWO things from the INBOX, and put only the BIGGER of the two in the OUTBOX. If they are equal, just pick either one. Repeat!

In→A&B ; IF A>B; Out→A else B.

 JUMP     c
a:COPYFROM 0
b:OUTBOX
c:INBOX   COPYTO   0INBOX   SUB      0JUMPN    aADD      0JUMP     b

16. Absolute Positivity 绝对值

Send each thing from the INBOX to the OUTBOX. BUT, if a number is negative, first remove its negative sign.

In→A;Out→|A|.

 JUMP     c
a:COPYTO   0SUB      0SUB      0
b:OUTBOX
c:INBOX   JUMPN    aJUMP     b

19. Countdown 倒计时

For each number in the INBOX, send that number to the OUTBOX, followed by all numbers down to (or up to) zero. It’s a countdown!

In→A; Out→A!&0

a:INBOX   COPYTO   0
b:JUMPN    d
c:OUTBOX  BUMPDN   0JUMPN    aJUMP     c
d:OUTBOX  BUMPUP   0JUMP     b

20. Multiplication Workshop 乘法

For each two things in the INBOX, multiply them, and OUTBOX the result. Don’t worry about negative numbers for now.

In→A&B ; Out→(A x B).

 JUMP     b
a:COPYFROM 6OUTBOX
b:COPYFROM 9COPYTO   6INBOX   COPYTO   0INBOX   COPYTO   1
c:JUMPZ    aCOPYFROM 6ADD      0COPYTO   6BUMPDN   1JUMP     c
 BUMPUP   9JUMP     k
a:ADD      1
b:ADD      1
c:ADD      1
d:ADD      1
e:ADD      1
f:ADD      1
g:ADD      1
h:ADD      1
i:ADD      1
j:OUTBOX
k:INBOX   COPYTO   1INBOX   JUMPZ    jSUB      9JUMPZ    iSUB      9JUMPZ    hSUB      9JUMPZ    gSUB      9JUMPZ    fSUB      9JUMPZ    eSUB      9JUMPZ    dSUB      9JUMPZ    cSUB      9JUMPZ    bSUB      9JUMP     a

21. Zero Terminated Sum 零尾串求和

The INBOX is filled with zero terminated strings! What’s that? Ask me. Your Boss.

In→5,9,0;Out→14.

    JUMP     c
a:ADD      0
b:OUTBOX
c:INBOX   JUMPZ    b
d:COPYTO   0INBOX   JUMPZ    aADD      0JUMP     d

23. The Littlest Number 取最小值

For each zero terminated string in the INBOX, send to the OUTBOX only the SMALLEST number you’ve seen in that string. You will never be given an empty string. Reset and repeat for each string.

In→5,9,0;Out→5.

    JUMP     b
a:COPYFROM 0OUTBOX
b:INBOX   COPYTO   0
c:
d:INBOX   JUMPZ    aSUB      0JUMPN    eJUMP     d
e:ADD      0COPYTO   0JUMP     c

25. Cumulative Countdown 阶乘

For each thing in the INBOX, OUTBOX the sum of itself plus all numbers down to zero. For example, if INBOX is 3, OUTBOX should be 6, because 3+2+1=6.

a:INBOX   JUMPZ    dCOPYTO   0COPYTO   1
b:BUMPDN   0JUMPZ    cADD      1COPYTO   1JUMP     b
c:COPYFROM 1
d:OUTBOX  JUMP     a

29. Storage Floor 指针

a:INBOX   COPYTO   10COPYFROM [10]OUTBOX  JUMP     a

30. String Storage Floor 指针串

a:INBOX   COPYTO   24
b:COPYFROM [24]JUMPZ    aOUTBOX  BUMPUP   24JUMP     b

31. String Reverse 反串

a:BUMPUP   14
b:INBOX   JUMPZ    cCOPYTO   [14]BUMPUP   14JUMP     b
c:
d:BUMPDN   14JUMPZ    aCOPYFROM [14]OUTBOX  JUMP     d

32. Inventory Report 计数

 JUMP b
a:COPYFROM 18OUTBOX
b:COPYFROM 14COPYTO 15COPYTO 18INBOXCOPYTO 19JUMP e
c:BUMPUP 18
d:BUMPUP 15
e:COPYFROM [15]JUMPZ aSUB 19JUMPZ cJUMP d

34. Vowel Incinerator 去元音AEIOU

Send everything from the INBOX to the OUTBOX, except for vowels.

 JUMP     c
a:COPYFROM 6OUTBOX
b:
c:COPYFROM 5COPYTO   7INBOX   COPYTO   6
d:COPYFROM [7]JUMPZ    aSUB      6JUMPZ    bBUMPUP   7JUMP     d

35. Duplicate Removal 去重

    INBOX   COPYTO   [14]
a:COPYFROM [14]OUTBOX  BUMPUP   14
b:COPYFROM 14COPYTO   13BUMPDN   13INBOX   COPYTO   [14]
c:SUB      [13]JUMPZ    bBUMPDN   13JUMPN    aCOPYFROM [14]JUMP     c

36. Scavenger Chain

39. Re-Coordinator

Each number in the INBOX is an address of a tile on the floor. Send to the OUTBOX the coordinates of that tile, column first, row second.

​ 0 1 2 3

0 0 1 2 3

1 4 5 6 7

2 8 9 10 11

3 12 13 14 15

IN→7,OUT→3,1. 0@14,4@15。

 JUMP     b
a:ADD      15OUTBOX  COPYFROM 1OUTBOX
b:COPYFROM 14COPYTO   1INBOX
c:SUB      15JUMPN    aCOPYTO   0BUMPUP   1COPYFROM 0JUMP     c

Human Resource Machine 汇编游戏攻略相关推荐

  1. 程序员升职记 全关卡攻略通俗思路 Human Resource Machine

    程序员升职记 全过关方法&通俗思路 博主本着能过就过的思想,写出的解答必然不是最优解. 但是可以给大家提供一点思路来参考.其中17和22的解答整理自网络,特别是17的解答,要比博主的原解答巧妙 ...

  2. 基于Springboot+Vue的MOBA类游戏攻略分享平台

    摘 要 随着信息技术和网络技术的飞速发展,人类已进入全新信息化时代,传统管理技术已无法高效,便捷地管理信息.为了迎合时代需求,优化管理效率,各种各样的管理系统应运而生,各行各业相继进入信息管理时代,M ...

  3. 《程序员升职记》/《Human Resource Machine》黑屏解决办法

    运行环境:win10 游戏平台:Steam 解决方法:将  -d3d11 输入到启动选项中. 方法来源:<程序员升职记>/<Human Resource Machine>开发商 ...

  4. java轩辕剑天之痕游戏攻略_轩辕剑之天之痕游戏攻略大全

    轩辕剑之天之痕游戏攻略大全 2012-07-13 10:02:47来源:游戏下载编辑:紫葡萄评论(0) 轩辕剑之天之痕游戏讲述南陈皇室遗孤陈靖仇踏上复国之路,并被卷入一场精心布置的大阴谋和明争暗斗中. ...

  5. python玩汉诺塔游戏攻略

    def hanio(n,x,y,z):'汉诺塔游戏攻略'if n == 1:print('%s-->%s'%(x,z))else:#将n-1个从x放到y上 借助zhanio(n-1,x,z,y) ...

  6. 手机计算机数字游戏怎么玩,计算器游戏攻略

    计算器游戏是一款非常烧脑的算术游戏,可以锻炼你的算术能力,东坡为大家带来了计算器游戏攻略,计算器游戏官网和计算器游戏下载,喜欢的玩家可以来挑战一下! Calculator:TheGame[计算器游戏] ...

  7. 有趣的Python Challenge编程解谜游戏攻略二(5-9关)

    **有趣的Python Challenge编程解谜游戏攻略二(5-9关)** 介绍 游戏介绍 0-4关攻略 写在前面 关卡 第5关 第6关 第7关 第8关 第9关 链接总结 第10关预告 介绍 游戏介 ...

  8. 拼字游戏 html5,拼字游戏攻略

    拼字游戏是一款趣味性十足的游戏方式会让大家快乐的游戏.游戏十分益智.这款游戏风格独特,画面精美好看,音效逼真动听,操作简单易上手.相信你一定会喜欢的,如果你喜欢的话就加入我们吧,以下是关于这个游戏的一 ...

  9. 刺客信条奥德赛多项功能修改器(附游戏攻略)

    点击下载来源:刺客信条奥德赛多项功能修改器(附游戏攻略) 刺客信条奥德赛修改器是一款专门针对<刺客信条奥德赛>热门动作冒险游戏而设计制作的游戏辅助修改工具,可以修改游戏多项属性,功能丰富. ...

最新文章

  1. Db4o结合Linq、Lambda表达式的简单示例
  2. 超级计算机在线解方程,量子计算机10秒可得超级计算机百年运算结果
  3. one of the variables needed for gradient computation has been modified by an inplace
  4. php怎么写确认密码,如何在Laravel 5中验证当前密码,新密码和新密码的确认? - php...
  5. python 惰性属性_在Python中处理惰性JSON-“期望属性名称”
  6. python中oserror捕获_Python assert异常处理(一看即懂)
  7. C++之默认参数顺序(从右到左)和调用顺序(从左到右)
  8. 如何将 Apple Watch 用作闹钟?
  9. vue项目小demo
  10. grub2 引导光盘
  11. 微型计算机控制技术小论文,微型计算机控制技术结课论文..doc
  12. 客户说发货慢怎么回复_买家投诉卖家物流送货慢怎么处理
  13. Panel 控件概述(Windows 窗体)
  14. 云上游戏数据分析实践
  15. MarkDown在线编辑器(支持公众号知乎)
  16. 11.自媒体功能补全
  17. 浅谈 AOP 什么是 AOP ?
  18. 为什么要配置Java环境变量以及Java环境变量的配置
  19. 信号幅值归一化(Python)
  20. oracle和mybatis自增,在Springboot项目中使用MybatisPlus和Oracle实现主键ID的自增

热门文章

  1. 项目管理 - 项目开发阶段
  2. (广告颀赏)LG谜手机广告---黛丽·赫本之蒂凡尼早餐篇
  3. 微信小程序--canvas 画海报 转发好友 下载本地
  4. 站内推广 Amazon CPC
  5. 双非本科非科班海投300+家Java后台岗位(个人心得感悟,附赠面试参考资料)...
  6. html canvas 随意画图,html5 canvas 画图的问题
  7. 【网络基础】第03章 IP地址详解
  8. k8s驱逐篇(3)-kubelet节点压力驱逐-源码分析篇
  9. 汽车以太网-SOME/IP之字节序(Network Byte Order-Big Endian)
  10. 大揭秘!B站“排行榜”视频的上榜秘诀