Formal Languages and Automata Theory
Siu On CHAN Fall 2019
Chinese University of Hong Kong 1/27
Formal Languages and Automata Theory Siu On CHAN Fall 2019 Chinese - - PowerPoint PPT Presentation
Formal Languages and Automata Theory Siu On CHAN Fall 2019 Chinese University of Hong Kong 1/27 Welcome to 3130 https://www.cse.cuhk.edu.hk/~siuon/csci3130 Tentative syllabus and schedule Reference book Introduction to the Theory of
Chinese University of Hong Kong 1/27
2/27
Source: Wikipedia on AlphaGo versus Lee Sedol 3/27
Topic: In a shocking fjnding, scientist discovered a herd of unicorns living in a remote, previously unexplored valley, in the Andes Mountains. Even more surprising to the researchers was the fact that the unicorns spoke perfect English. The scientist named the population, after their distinctive horn, Ovid’s Unicorn. These four-horned, silver-white unicorns were previously unknown to science. Now, after almost two centuries, the mystery of what sparked this odd phenomenon is fjnally solved.
exploring the Andes Mountains when they found a small valley, with no other animals or humans. Pérez noticed that the valley had what appeared to be a natural fountain, surrounded by two peaks
Pérez and the others then ventured further into the valley. “By the time we reached the top of one peak, the water looked blue, with some crystals on top,” said Pérez. Pérez and his friends were astonished to see the unicorn herd. These creatures could be seen from the air without having to move too much to see them — they were so close they could touch their
4/27
“water screw” perpetual motion machine
5/27
6/27
7/27
$0 $5 $10 +5 +5 +5, +10 +5, +10 +10 +10 R R R R 8/27
9/27
10/27
11/27
12/27
#include <stdio.h> main(t,_,a)char *a;{return!0<t?t<3?main(-79,-13,a+main(-87,1-_, main(-86,0,a+1)+a)):1,t<_?main(t+1,_,a):3,main(-94,-27+t,a)&&t==2?_<13? main(2,_+1,"%s %d %d\n"):9:16:t<0?t<-72?main(_,t, "@n'+,#'/*{}w+/w#cdnr/+,{}r/*de}+,/*{*+,/w{%+,/w#q#n+,/#{l,+,/n{n+,/+#n+,/#\ ;#q#n+,/+k#;*+,/'r :'d*'3,}{w+K w'K:'+}e#';dq#'l \ q#'+d'K#!/+k#;q#'r}eKK#}w'r}eKK{nl]'/#;#q#n'){)#}w'){){nl]'/+#n';d}rw' i;# \ ){nl]!/n{n#'; r{#w'r nc{nl]'/#{l,+'K {rw' iK{;[{nl]'/w#q#n'wk nw' \ iwk{KK{nl]!/w{%'l##w#' i; :{nl]'/*{q#'ld;r'}{nlwb!/*de}'c \ ;;{nl'-{}rw]'/+,}##'*}#nc,',#nw]'/+kd'+e}+;#'rdq#w! nr'/ ') }+}{rl#'{n' ')# \ }'+}##(!!/") :t<-50?_==*a?putchar(31[a]):main(-65,_,a+1):main((*a=='/')+t,_,a+1) :0<t?main(2,2,"%s"):*a=='/'||main(0,main(-61,*a, "!ek;dc i@bK'(q)-[w]*%n+r3#l,{}:\nuwloca-O;m .vpbks,fxntdCeghiry"),a+1);}
13/27
14/27
15/27
16/27
17/27
1 | x contains the substring “to”} 18/27
2 | x is divisible by 7}
3
19/27
2 | x is divisible by 7}
19/27
2 | x is divisible by 7}
19/27
20/27
21/27
22/27
23/27
q0 q1 q2 q3 q4 a a b a b b b a b a
24/27
25/27
25/27
26/27
26/27
26/27
27/27