1156. Twinkle, Twinkle All the Night

时间限制:1Sec内存限制:128MB通过:47提交:80

题目描述

Twinkle, twinkle, little star! How I wonder what you are, Up above the world so high, Like a diamond in the sky. When the blazing sun is gone, When he nothing shines upon, Then you show your little light, Twinkle, twinkle all the night. The dark blue sky you keep, And often thro’ my curtains peep, For you never shut your eye, Till the sun is in the sky. 'Tis your bright and tiny spark, Lights the traveler in the dark, Though I know not what you are, Twinkle, twinkle, little star! “How beautiful!” GG and MM said to each other! “But can you count all stars in the sky?” GG asked. MM counts and counts and fells asleep…

输入

There are multiple test cases. The first line has two integers N and M (1<=N,M<=1000) indicates that the visible sky are discretized with N lines and M columns. Then follows N lines and each line has M characters. The “*” character indicates the star in the


本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!

相关文章

立即
投稿

微信公众账号

微信扫一扫加关注

返回
顶部