刚学一分钟刷普及?(逃
by _短笛无腔_ @ 2020-02-16 15:47:08
记忆**话**搜索???
by JS_TZ_ZHR @ 2020-02-16 15:50:59
欸等等我过了
我谔谔
by wwhOvO @ 2020-02-16 15:53:52
你的终止条件写错了,应该把
```cpp
while(scanf("%lld%lld%lld",&a,&b,&c)&&(a!=-1)&&(b!=-1)&&(c!=-1))
```
改成
```cpp
while(scanf("%lld%lld%lld",&a,&b,&c)&&!((a==-1)&&(b==-1)&&(c==-1)))
```
by 200610311a @ 2020-02-16 16:06:59
刚学`OI`1`min`的人就绿了?
by qwq自动机 @ 2020-02-16 16:21:35
刚学OI1min的人就会记忆化??
by zhangboju @ 2020-02-16 16:25:41
@[BinaryTree](/user/204619)
把
```cpp
while(scanf("%lld%lld%lld",&a,&b,&c)&&(a!=-1)&&(b!=-1)&&(c!=-1))
```
改成
```cpp
while(scanf("%lld%lld%lld",&a,&b,&c)&&((a!=-1)||(b!=-1)||(c!=-1)))
```
by 屑稻香 @ 2020-02-19 12:24:12