If a resource-allocation graph has a cycle, the system must be in a deadlocked state.
A.正确
B.错误
正确答案是B