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

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>
            久久一区激情| 99亚洲一区二区| 欧美美女bb生活片| 欧美成人黑人xx视频免费观看| 久久疯狂做爰流白浆xx| 午夜一区不卡| 久久综合九色综合欧美狠狠| 欧美jizzhd精品欧美喷水| 欧美国产日韩免费| 欧美日韩一区二区视频在线| 欧美色图天堂网| 国产女精品视频网站免费| 国产婷婷色一区二区三区| 国内精品久久久久久久影视麻豆| 在线看欧美视频| 在线视频欧美日韩精品| 午夜视频精品| 欧美α欧美αv大片| 亚洲日本成人| 亚洲一二三四久久| 久久婷婷国产综合国色天香| 欧美另类视频在线| 国产午夜精品全部视频在线播放| 在线国产精品一区| 亚洲一区三区视频在线观看| 欧美伊人久久久久久午夜久久久久 | 伊人影院久久| 一区二区欧美视频| 久久国内精品自在自线400部| 欧美激情导航| 欧美综合第一页| 欧美午夜一区| 亚洲久色影视| 欧美国产先锋| 国产亚洲精品久久久久动| 欧美ed2k| 国产在线精品自拍| 亚洲在线视频一区| 欧美jizzhd精品欧美喷水| 亚洲欧美资源在线| 欧美日韩在线播放三区| 亚洲第一中文字幕| 老司机免费视频久久| 欧美一区综合| 国产一区高清视频| 欧美一区二区三区喷汁尤物| 正在播放亚洲一区| 欧美日本乱大交xxxxx| 在线看片第一页欧美| 久久一区欧美| 久久精品夜色噜噜亚洲aⅴ| 国产欧美不卡| 久久激情一区| 欧美亚洲三区| 国产亚洲欧美aaaa| 久久精品视频亚洲| 欧美一区二区三区免费观看视频 | 国产一区二区三区在线播放免费观看| 亚洲免费观看| 亚洲日韩成人| 欧美日韩精品免费观看视一区二区| 亚洲电影成人| 欧美成人免费播放| 免费一区视频| 亚洲欧洲精品一区二区| 亚洲国产一区二区三区青草影视 | 亚洲黄色尤物视频| 蘑菇福利视频一区播放| 久久精品一区二区三区中文字幕 | 玖玖玖国产精品| 久久99伊人| 在线成人小视频| 亚洲国产精品黑人久久久| 欧美大片91| 亚洲欧美日韩综合| 性久久久久久久久久久久| 韩国三级电影一区二区| 麻豆精品在线播放| 欧美精品久久久久久久久老牛影院| 亚洲毛片在线免费观看| 99视频一区二区| 国产亚洲一区精品| 美女视频黄a大片欧美| 欧美国产第一页| 亚洲欧美日韩一区二区三区在线| 日韩午夜三级在线| 性娇小13――14欧美| 亚洲制服欧美中文字幕中文字幕| 国产欧美欧美| 欧美激情91| 国产精品久久久久久久9999| 久久资源av| 欧美喷潮久久久xxxxx| 性欧美videos另类喷潮| 久热精品视频在线观看| 亚洲一区二区三区成人在线视频精品| 午夜视频久久久久久| 亚洲青色在线| 欧美在线播放一区| 亚洲午夜精品视频| 久久国产主播精品| 亚洲天堂久久| 噜噜噜91成人网| 久久成人精品电影| 欧美精品情趣视频| 久久久精品国产免大香伊| 欧美激情1区2区3区| 欧美一区二区在线| 欧美片在线播放| 久久久中精品2020中文| 国产精品高潮呻吟视频| 欧美高清在线视频观看不卡| 国产精品一区二区在线观看| 欧美激情精品久久久| 国产日韩精品视频一区| 亚洲精品久久久久中文字幕欢迎你| 国产亚洲精品自拍| 亚洲欧美一级二级三级| 亚洲视频中文字幕| 欧美国产日本| 欧美大片一区| 欲香欲色天天天综合和网| 午夜精品久久久久久久久久久| 亚洲精品一区二区三区福利| 久久理论片午夜琪琪电影网| 久久精品国产第一区二区三区| 欧美日韩一二区| 最新日韩精品| 亚洲精品乱码| 农夫在线精品视频免费观看| 久久这里只有精品视频首页| 国产一区视频在线观看免费| 亚洲欧美日韩天堂一区二区| 午夜精品久久久久久久久| 欧美精品一区二区蜜臀亚洲| 欧美激情久久久| 日韩亚洲欧美高清| 欧美国产激情| 亚洲精品一区二区网址| 99在线热播精品免费| 欧美福利视频网站| 亚洲电影免费观看高清完整版在线 | 欧美日韩国内自拍| 亚洲精品视频在线看| 一本久道综合久久精品| 亚洲精品日韩精品| 国产精品欧美一区二区三区奶水| 中文有码久久| 久久精品人人做人人爽| 国内自拍视频一区二区三区| 久久久免费av| 亚洲国产精品专区久久| 亚洲一区日韩在线| 国产午夜精品久久久| 久久另类ts人妖一区二区| 亚洲电影网站| 中文在线一区| 国产亚洲毛片| 老**午夜毛片一区二区三区| 91久久在线观看| 亚洲一区二区三区三| 国产午夜精品一区二区三区视频| 久久久在线视频| 亚洲精品男同| 久久精品免费观看| 亚洲激情在线观看| 欧美视频成人| 久久久精品欧美丰满| 亚洲人成亚洲人成在线观看| 在线亚洲电影| 国产欧美午夜| 欧美精品免费播放| 久久久国产午夜精品| aa日韩免费精品视频一| 久久精品国产精品亚洲综合| 亚洲精品午夜精品| 国产亚洲精品高潮| 欧美精品色综合| 欧美中文日韩| 日韩一区二区精品视频| 免费日韩成人| 亚洲欧美日韩一区在线| 亚洲风情亚aⅴ在线发布| 国产精品成人aaaaa网站| 久久影视三级福利片| 中文欧美日韩| 欧美福利在线观看| 久久久久一区二区三区四区| 亚洲一区免费网站| 亚洲精品午夜精品| 国产亚洲综合精品| 欧美日韩亚洲高清一区二区| 久热国产精品| 欧美在线亚洲在线| 亚洲素人在线| 日韩午夜在线电影| 亚洲国产一二三| 欧美高清视频一二三区| 久久亚洲国产精品日日av夜夜| 欧美一级片久久久久久久|