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

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>
            亚洲欧美综合国产精品一区| 欧美美女bb生活片| 久久成人18免费观看| 亚洲一本视频| 亚洲自拍三区| 亚洲欧美在线一区二区| 久久精品国产清高在天天线| 欧美中文字幕在线观看| 久久精品国产久精国产爱| 欧美伊人精品成人久久综合97| 午夜久久久久| 久久人人超碰| 最新国产成人av网站网址麻豆| 欧美黄污视频| 一本一本久久| 久久精品综合一区| 欧美激情一区二区三区蜜桃视频| 欧美日韩福利| 国产日韩精品久久久| 亚洲电影下载| 国产精品99久久久久久www| 久久精品91久久久久久再现| 欧美大成色www永久网站婷| 99www免费人成精品| 久久精品最新地址| 欧美亚男人的天堂| 一区二区三区亚洲| 亚洲婷婷免费| 欧美成人免费va影院高清| 夜夜嗨av色一区二区不卡| 欧美一区二区久久久| 欧美国产日韩亚洲一区| 国产精品亚洲综合色区韩国| 亚洲精品专区| 老司机免费视频久久| 99精品热6080yy久久 | 久久久久久久久久久久久女国产乱| 久久九九久精品国产免费直播| 欧美激情视频一区二区三区免费| 一区二区三区免费看| 久久一区中文字幕| 国产精品永久在线| 中文av字幕一区| 欧美成人日韩| 午夜视频在线观看一区二区三区| 欧美激情一区二区久久久| 狠狠久久亚洲欧美专区| 亚洲砖区区免费| 亚洲国产精品成人久久综合一区| 亚洲在线电影| 国产精品久久久久999| 日韩午夜在线观看视频| 噜噜噜91成人网| 午夜精品视频在线| 欧美午夜不卡视频| 亚洲天堂男人| 一区二区三区国产在线观看| 免费中文字幕日韩欧美| 极品少妇一区二区三区精品视频| 久久爱91午夜羞羞| 午夜影院日韩| 国产一区二区三区高清播放| 欧美精品免费视频| 欧美日韩成人在线播放| 艳女tv在线观看国产一区| 牛牛国产精品| 免费亚洲电影在线| 亚洲精品美女在线| 最新国产成人av网站网址麻豆| 免费国产自线拍一欧美视频| 亚洲国产成人91精品| 欧美成人情趣视频| 欧美高清在线一区二区| 999在线观看精品免费不卡网站| 欧美好吊妞视频| 欧美日韩中文在线观看| 亚洲一区二区三区成人在线视频精品| 亚洲人永久免费| 国产精品福利久久久| 欧美一区二区三区在线播放| 性伦欧美刺激片在线观看| 好看的日韩视频| 欧美高清在线一区| 欧美三级午夜理伦三级中文幕 | 久久福利电影| 久久激情视频久久| 亚洲激情精品| 一本色道久久88亚洲综合88| 国产精品免费看| 久久尤物电影视频在线观看| 欧美波霸影院| 欧美一区二区精品久久911| 久久成人资源| aa国产精品| 欧美中文字幕在线| 日韩亚洲不卡在线| 亚洲欧美激情一区二区| 国产偷国产偷精品高清尤物| 欧美成人午夜激情| 欧美美女福利视频| 蜜桃久久精品一区二区| 欧美日韩视频在线一区二区观看视频 | 国产一区视频网站| 亚洲国产精品第一区二区三区| 欧美日产国产成人免费图片| 欧美在线不卡| 欧美精品18| 久久九九热免费视频| 欧美精品一区在线发布| 性欧美xxxx大乳国产app| 久久综合国产精品| 欧美在线播放一区| 欧美亚洲成人免费| 亚洲高清一区二| 国产日韩欧美三区| 99精品热视频| 在线亚洲激情| 久久精品一本久久99精品| 中文有码久久| 久久久人成影片一区二区三区观看 | 久久女同互慰一区二区三区| 欧美极品在线视频| 美女福利精品视频| 国产精品一区二区a| 亚洲另类黄色| 亚洲美女视频网| 麻豆成人在线| 久久精品伊人| 国产精品v欧美精品v日韩 | 免费黄网站欧美| 久久免费高清| 伊人狠狠色丁香综合尤物| 午夜一区不卡| 久久久久这里只有精品| 国产一区二区三区四区hd| 亚洲欧美日韩在线综合| 中文高清一区| 国产欧美日韩不卡免费| 亚洲一区国产精品| 性欧美激情精品| 国产一区欧美日韩| 久久久久免费视频| 欧美黄色小视频| 亚洲国产精品精华液网站| 久久在线视频| 亚洲激情校园春色| 最新高清无码专区| 欧美韩日一区| av成人手机在线| 欧美在线视频网站| 精品成人乱色一区二区| 久久久蜜桃一区二区人| 亚洲国产精品视频一区| 夜色激情一区二区| 国产精品免费视频观看| 欧美一级视频精品观看| 欧美在线在线| 国产一区二三区| 可以看av的网站久久看| 91久久中文字幕| 欧美精品在欧美一区二区少妇| 欧美韩日一区二区| 精品999久久久| 免费观看日韩av| 9i看片成人免费高清| 亚洲伊人观看| 国产欧美日韩亚州综合| 久久伊人亚洲| 亚洲免费观看高清在线观看 | 久久久综合网站| 99精品视频免费观看| 久久久国产精彩视频美女艺术照福利| 亚洲二区三区四区| 欧美视频一二三区| 久热这里只精品99re8久| 99精品国产一区二区青青牛奶| 国产美女一区| 麻豆精品一区二区综合av| 亚洲国产精品美女| 亚洲调教视频在线观看| 久久se精品一区精品二区| 樱花yy私人影院亚洲| 欧美看片网站| 亚洲免费中文| 亚洲黄网站在线观看| 亚洲午夜91| 极品av少妇一区二区| 欧美午夜影院| 久久视频一区| 亚洲综合欧美| 欧美黑人国产人伦爽爽爽| 翔田千里一区二区| 99精品99| 亚洲国产aⅴ天堂久久| 国产精品美女www爽爽爽| 久久综合给合久久狠狠色| 午夜精品一区二区三区在线播放| 亚洲成人自拍视频| 久久大逼视频| 欧美一区二区日韩|