热门

最新

红包

立Flag

投票

同城

我的

发布
ae860619
AE860619
3 年前
trueae860619

program Ix_11;
const man=20:
var c: stings
function judge(c: string) : boolean;
var starray[1. . maxn] of char;
tOp.l:integer:
ch: char;
begin
judge: = true;
top: =0;
i:=1;ch: =cLi];
while ch<>'@' do begin
if (ch='(') or (ch=*)*) then case ch of
'(' : begin top: =top+ 1;s[top]: ="(' end;
")': if top>0 then top: = top-1
else begin judge: = false; exit end;
end;
i: =i+1;ch: =cil:
end;
if top<>0 then judge: = false;
end;
begin (main)
assign(input, ' match. in');
assign (output, 'match. out');
reset (input);
rewrite(output);
readIn(c) ;
if judge(c) then writeln('YES') else writeln('NO');
close (input);
close(output);
end.

CSDN App 扫码分享
分享
评论
点赞
打赏
  • 复制链接
  • 举报
下一条:
#今日早地铁#刷到springP24附近,印象:1.XXXAware注解都对应着一个xxxProcessor2.某个bean实现XXXAware,代表某个bean拥有了获取到XXX的能力3.待测试:一个类实现了xxx接口,是不是用instanceof方法就能是TRUE??如果一个类实现了多个接口呢4.“论一个XXXAware是如何吧xxx放进去的”5.冷门:@Autowired无处不在。。比如,配置类里面的被@Bean标记的方法的入参。入参前面其实有标注@Autowired的,只是没写上去而已。这个的作用是能直接从容器中获取已存在的bean6.spring让你实现某个接口,最后通过回调的方式给你某些能力,或者给你装配某些特定的bean
立即登录