2014年2月23日

【PythonChallenge】Level 3

摘要: 题目为正则表达式,需要注意EXACTLY的含义,即AAAAxBBB中x不满足条件,但aAAAxBBBa却满足条件。使用perl解决此题,利用s///替换字母,循环读取整个源码文件,结果为linkedlist。解答完毕,Perl程序如下:#!perl -wuse 5.010;############## Level 3 ############### data store the sourcepage informationopen FILEIN, "data" or die "Can't open the data."; my $word = & 阅读全文

posted @ 2014-02-23 17:38 Bombe 阅读(238) 评论(0) 推荐(0)

导航