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

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年8月>
2627282930311
2345678
9101112131415
16171819202122
23242526272829
303112345

常用鏈接

留言簿(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区| 欧美日本在线播放| 亚洲午夜成aⅴ人片| 亚洲免费视频在线观看| 亚洲一区综合| 久久久久久夜| 欧美—级高清免费播放| 国产精品高清一区二区三区| 国产一区二区按摩在线观看| 在线播放一区| 亚洲桃色在线一区| 久久久最新网址| 亚洲品质自拍| 亚洲欧美一区二区三区久久| 久久天天躁狠狠躁夜夜av| 欧美激情精品久久久久久蜜臀| 欧美体内she精视频在线观看| 国产一区二区三区在线免费观看 | 一区二区冒白浆视频| 亚洲欧洲av一区二区三区久久| 久久久久国内| 国产精品午夜在线观看| 亚洲精品国产无天堂网2021| 香蕉成人伊视频在线观看 | 午夜精品av| 欧美激情第1页| 西瓜成人精品人成网站| 欧美精品九九99久久| 精品1区2区3区4区| 午夜激情综合网| 亚洲日本免费电影| 久久综合久久久久88| 国产精品视频yy9099| 亚洲最黄网站| 亚洲人在线视频| 久久人体大胆视频| 黄色日韩精品| 久久青草欧美一区二区三区| 亚洲一级二级| 国产精品久久999| 亚洲无限av看| 一本色道88久久加勒比精品 | 欧美一级欧美一级在线播放| 欧美视频精品在线| 99视频精品免费观看| 亚洲第一精品福利| 欧美jizzhd精品欧美喷水| 亚洲成人在线视频播放| 巨乳诱惑日韩免费av| 欧美一区二区三区视频| 国产午夜精品理论片a级大结局| 亚洲一区免费网站| 亚洲在线观看视频| 国产精品欧美日韩| 亚洲大片av| 欧美一区二区性| 国产欧美精品日韩| 久久精品在线| 午夜激情一区| 国产亚洲欧洲997久久综合| 欧美一区二区三区久久精品茉莉花| 在线综合欧美| 国产农村妇女毛片精品久久麻豆 | 国产精品入口麻豆原神| 亚洲图中文字幕| 亚洲网站视频| 国产无一区二区| 女同性一区二区三区人了人一| 久久综合久久久| 99精品视频网| 亚洲一区亚洲| 好看的亚洲午夜视频在线| 麻豆av一区二区三区| 欧美激情按摩在线| 亚洲欧美一区二区三区极速播放 | 国产精品久久激情| 久久久成人网| 欧美ed2k| 小处雏高清一区二区三区| 亚洲欧美一区二区精品久久久| 黄色一区二区三区四区| 亚洲经典在线| 国产日韩精品在线| 亚洲国产欧美日韩| 国产情侣一区| 亚洲乱码一区二区| 精品av久久707| 一区二区三区精品| 在线观看91精品国产麻豆| 日韩视频国产视频| 激情五月综合色婷婷一区二区| 最近中文字幕日韩精品 | 午夜精品久久久久久| 久久综合狠狠综合久久综合88 | 久久久999精品| 亚洲视频1区| 六月婷婷一区| 久久成人国产| 欧美日韩午夜精品| 欧美成人a∨高清免费观看| 国产精品sm| 亚洲国产精品成人| 国产亚洲a∨片在线观看| 亚洲精品欧美日韩| 伊人久久大香线| 亚洲调教视频在线观看| 欧美在线免费视频| 欧美激情2020午夜免费观看| 久久久欧美精品| 国产精品v欧美精品v日韩精品| 美女国内精品自产拍在线播放| 国产精品高潮视频| 亚洲精品日韩久久| 亚洲老司机av| 毛片精品免费在线观看| 蜜臀av性久久久久蜜臀aⅴ四虎| 国产欧美日韩一区| 亚洲视频综合在线| 亚洲视频免费在线| 欧美理论电影在线观看| 欧美激情第9页| 亚洲福利视频一区| 久久在线观看视频| 免费中文字幕日韩欧美| 精品999在线观看| 久久久久久久久岛国免费| 久久久久久久久岛国免费| 国产亚洲精品高潮| 欧美一区亚洲二区| 久久久久九九九| 国内精品久久久久久久影视麻豆| 性8sex亚洲区入口| 麻豆精品视频在线观看| 尤物yw午夜国产精品视频| 久久精品免费看| 欧美成人一区二区三区在线观看| 尤妮丝一区二区裸体视频| 久久视频在线免费观看| 亚洲第一综合天堂另类专| 亚洲精品日产精品乱码不卡| 欧美精品情趣视频| 99精品国产在热久久| 亚洲欧美另类在线观看| 国产欧美日韩一区二区三区| 久久久久女教师免费一区| 亚洲福利在线视频| 亚洲视频axxx| 狠狠网亚洲精品| 免费的成人av| 亚洲另类视频| 久久se精品一区二区| 在线激情影院一区| 欧美精品一区二区精品网| 一区二区三区四区五区视频| 欧美一区二区在线免费播放| 精品动漫一区二区| 欧美日韩免费观看一区二区三区| 一区二区三区免费网站| 久久成人精品视频| 亚洲激情精品| 国产精品男人爽免费视频1| 久久久人成影片一区二区三区| 亚洲国内高清视频| 欧美在线中文字幕| 99re66热这里只有精品3直播 | 欧美aaa级| 亚洲综合久久久久| 亚洲国产成人在线| 久久精品国产精品亚洲精品| 99精品欧美一区二区三区| 国内精品久久久久影院 日本资源| 欧美 日韩 国产一区二区在线视频| 亚洲午夜女主播在线直播| 欧美激情无毛| 久久久999精品免费| 一区二区激情| 久久成人资源| 亚洲精品乱码久久久久久黑人 | 国产精品夜夜夜一区二区三区尤| 久久精品国产精品亚洲综合 | 午夜国产一区| 日韩视频免费观看高清在线视频 | 欧美日本三级| 久久久av水蜜桃| 亚洲一区在线播放| 亚洲人成网站精品片在线观看| 久久精品国产免费观看| 在线视频日韩精品| 亚洲全部视频| 国内综合精品午夜久久资源| 国产精品久久久一本精品| 欧美日韩成人综合天天影院| 久久亚洲国产精品日日av夜夜| 亚洲欧美资源在线|