PROB Mother's Milk

(1)本来要使用set进行中间状态是否出现的判断。

突然想到可以简单点直接用一个3维数组来查看来保存中间状态,abc分别为3个维度,用到的空间也不大。

(2)(加入这次是从a开始)第一次尝试,考虑到了b=》a和c=》a是不行的,但是没有考虑到bc之间的互相倒(如下绿线)。

image

(3)人品挫就是好不容易又调通了,竟然提交不了~~~~TT

USER: y j [foryjus1]
TASK: milk3
LANG: C++

Standing by for compile/execution server...
Standing by for compile/execution server...
Standing by for compile/execution server...
/home/kolstad/trainweb
'runaprog' died: noserverresponseThe servers are not responding.  Please try one more time and then
contact the contest directors.
原文地址:https://www.cnblogs.com/growup/p/1991095.html