QOJ.ac

QOJ

Type: Editorial

Status: Open

Posted by: jiangly

Posted at: 2025-12-14 06:53:57

Last updated: 2025-12-14 06:54:00

Back to Problem

题解

按照题意模拟,因为状态只有寄存器的值和当前的行数,总共 $256n$,所以如果步数超过了 $256n$ 则不停机。也可以判重复经过状态。

Comments

No comments yet.