青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品

posts - 74,  comments - 33,  trackbacks - 0
For products that are wrapped in small packings it is necessary that the sheet of paper containing the directions for use is folded until its size becomes small enough. We assume that a sheet of paper is rectangular and only folded along lines parallel to its initially shorter edge. The act of folding along such a line, however, can be performed in two directions: either the surface on the top of the sheet is brought together, or the surface on its bottom. In both cases the two parts of the rectangle that are separated by the folding line are laid together neatly and we ignore any differences in thickness of the resulting folded sheet.

After several such folding steps have been performed we may unfold the sheet again and take a look at its longer edge holding the sheet so that it appears as a one-dimensional curve, actually a concatenation of line segments. If we move along this curve in a fixed direction we can classify every place where the sheet was folded as either type A meaning a clockwise turn or type V meaning a counter-clockwise turn. Given such a sequence of classifications, produce a drawing of the longer edge of the sheet assuming 90 degree turns at equidistant places.

Input

The input contains several test cases, each on a separate line. Each line contains a nonempty string of characters A and V describing the longer edge of the sheet. You may assume that the length of the string is less than 200. The input file terminates immediately after the last test case.

Output

For each test case generate a PostScript drawing of the edge with commands placed on separate lines. Start every drawing at the coordinates (300, 420) with the command "300 420 moveto". The first turn occurs at (310, 420) using the command "310 420 lineto". Continue with clockwise or counter-clockwise turns according to the input string, using a sequence of "x y lineto" commands with the appropriate coordinates. The turning points are separated at a distance of 10 units. Do not forget the end point of the edge and finish each test case by the commands stroke and showpage.

You may display such drawings with the gv PostScript interpreter, optionally after a conversion using the ps2ps utility.



Sample Input

V
AVV

Sample Output

300 420 moveto
310 420 lineto
310 430 lineto
stroke
showpage
300 420 moveto
310 420 lineto
310 410 lineto
320 410 lineto
320 420 lineto
stroke
showpage


題目很長,很無聊。
意思就是告訴你一起點在(300,420),然后畫一條長度為10的直線,“310 420 lineto”,到點(310,420)。
輸入一串少于200長度的字符串,其中‘A’表示順時針旋轉,‘V’表示逆時針旋轉,每次都畫一條長度為10的直線。
最后再輸出stroke和showpage 。
看這題就當為周末的英語考試復習下英語好了,其實是很水的模擬題。
posted on 2008-12-23 20:46 KNIGHT 閱讀(179) 評論(0)  編輯 收藏 引用

只有注冊用戶登錄后才能發表評論。
網站導航: 博客園   IT新聞   BlogJava   博問   Chat2DB   管理


<2009年4月>
2930311234
567891011
12131415161718
19202122232425
262728293012
3456789

常用鏈接

留言簿(8)

隨筆檔案

文章檔案

Friends

OJ

搜索

  •  

最新評論

閱讀排行榜

評論排行榜

青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品
  • <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            久久在线免费| 国产精品亚发布| 欧美1区2区3区| 欧美不卡视频| 亚洲国产经典视频| 亚洲在线国产日韩欧美| 亚洲欧美日韩在线一区| 香蕉久久精品日日躁夜夜躁| 久久激情视频| 欧美中文字幕不卡| 欧美激情在线观看| 亚洲自拍偷拍网址| 欧美激情视频一区二区三区免费 | 欧美日韩在线视频观看| 国产精品草草| 亚洲国产精品va在线看黑人| 欧美一区二区三区免费视频| 欧美jjzz| 一本一道久久综合狠狠老精东影业| 久久久久久穴| 国产亚洲精品v| 亚洲欧美韩国| 亚洲精品乱码久久久久久久久| 欧美一区二区三区免费视| 欧美日韩成人一区| 亚洲人成在线播放| 欧美护士18xxxxhd| 亚洲激情校园春色| 美脚丝袜一区二区三区在线观看| 国产精品任我爽爆在线播放 | 国产女主播一区二区| 亚洲毛片在线| 欧美激情第10页| 久久综合久久久久88| 精品二区久久| 免费观看在线综合色| 久久久精品日韩欧美| 狠狠久久婷婷| 欧美 日韩 国产在线| 亚洲在线观看视频网站| 国产精品你懂的在线欣赏| 亚洲字幕一区二区| 亚洲视频一二区| 国产欧美精品在线观看| 久久gogo国模啪啪人体图| 午夜精品久久| 在线播放日韩| 欧美激情麻豆| 欧美亚洲免费| 999亚洲国产精| 在线观看亚洲一区| 久久久91精品| 久久成人精品视频| 亚洲大片精品永久免费| 免费观看一级特黄欧美大片| 免费欧美日韩| 中日韩美女免费视频网址在线观看| 亚洲缚视频在线观看| 欧美+日本+国产+在线a∨观看| 亚洲人久久久| 夜夜嗨av一区二区三区| 国产精品日韩高清| 久久综合亚洲社区| 欧美激情片在线观看| 亚洲一区在线视频| 欧美在线www| 亚洲日韩第九十九页| 日韩视频欧美视频| 国产精品主播| 亚洲第一精品久久忘忧草社区| 欧美在线综合| 99pao成人国产永久免费视频| 亚洲精选在线| 欧美日韩中文另类| 久久影视精品| 国产精品国产馆在线真实露脸| 久久精品日韩一区二区三区| 性刺激综合网| 一本色道久久综合亚洲精品高清| 亚洲摸下面视频| 亚洲激情在线| 午夜视频一区二区| 99re6热在线精品视频播放速度| 亚洲免费网站| 9人人澡人人爽人人精品| 亚洲欧美成人一区二区三区| 日韩一本二本av| 狼狼综合久久久久综合网| 久久激情视频免费观看| 国产裸体写真av一区二区| 在线综合+亚洲+欧美中文字幕| 日韩视频不卡中文| 欧美国产精品v| 亚洲高清在线观看一区| 亚洲国产成人av在线| 久久久青草婷婷精品综合日韩| 久久精品理论片| 国产一区二区三区丝袜| 欧美在线视频一区二区| 久久久久高清| 曰韩精品一区二区| 久久久水蜜桃| 欧美二区视频| 日韩午夜免费视频| 欧美日韩亚洲成人| 亚洲一区三区在线观看| 亚洲欧美日韩一区在线| 国产精品午夜久久| 欧美一级在线视频| 免费国产一区二区| 99精品国产在热久久下载| 欧美日韩一二三区| 亚洲综合精品| 久久午夜电影| 亚洲精品综合| 国产日韩高清一区二区三区在线| 欧美成黄导航| 欧美激情在线免费观看| 亚洲精品色图| 国产精品国产精品| 久久爱另类一区二区小说| 欧美成人精品三级在线观看| 亚洲精品免费在线| 国产精品久久久久久久久| 午夜精品美女久久久久av福利| 久久躁日日躁aaaaxxxx| 亚洲美女视频| 国产亚洲欧美日韩美女| 蜜臀久久99精品久久久久久9| 亚洲精品久久久蜜桃| 欧美一区二区三区精品| 在线精品视频一区二区| 欧美日韩的一区二区| 午夜亚洲视频| 亚洲黄一区二区三区| 欧美在线91| 日韩视频免费观看高清完整版| 国产精品国产三级国产普通话蜜臀| 欧美专区18| 一区二区三区国产盗摄| 欧美成ee人免费视频| 亚洲欧美精品伊人久久| 亚洲国产高清自拍| 国产色视频一区| 欧美日韩国产高清视频| 久久精品免视看| 中文av字幕一区| 欧美激情视频网站| 久久精品91久久香蕉加勒比| 99精品视频一区二区三区| 激情综合久久| 国产精品一区二区三区久久| 欧美激情精品久久久| 久久精品91久久香蕉加勒比| 亚洲精品在线二区| 欧美激情精品久久久久久| 欧美专区第一页| 一区二区电影免费观看| 亚洲国产婷婷综合在线精品| 国产亚洲成av人在线观看导航| 欧美日韩精品免费观看| 免费亚洲电影| 裸体素人女欧美日韩| 欧美亚洲网站| 亚洲永久网站| 亚洲少妇在线| 99精品视频免费观看| 亚洲国产精品成人久久综合一区| 久久一区精品| 久久亚洲精品中文字幕冲田杏梨| 午夜久久久久久| 亚洲欧美精品伊人久久| 亚洲婷婷综合色高清在线| 亚洲伦理网站| 亚洲毛片在线观看| 亚洲剧情一区二区| 亚洲国产精品123| 在线成人欧美| 亚洲国产合集| 亚洲日韩欧美一区二区在线| 亚洲大胆av| 亚洲欧洲在线一区| 亚洲精品在线观看免费| 亚洲黄色精品| 亚洲精品网站在线播放gif| 亚洲国产成人av| 亚洲精品一区二区在线观看| 91久久精品日日躁夜夜躁国产| 亚洲风情亚aⅴ在线发布| 在线欧美影院| 亚洲精品中文字| 亚洲一区二区三区在线看| 欧美高清在线视频| 久久国内精品视频| 午夜亚洲伦理| 久久久久在线观看| 欧美久久一区| 国产精品一区二区三区久久久| 国产在线精品一区二区夜色| 黄色成人在线网址|